Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | unwrapping urlparse result tuple manually for python 2.4 compatibility. | Jeff Balogh | 2008-05-30 | 1 | -4/+4 |
| | | | | | In 2.5 the result is wrapped in a ParseResult class so that fields can be accessed by name, but a plain tuple is returned in 2.4. | ||||
* | Merge git://gitorious.org/python-markdown/mainline | Yuri Takhteyev | 2008-05-02 | 1 | -1/+1 |
|\ | |||||
| * | Updated version_info from 'rc-2' to 'final'. Should have done this before ↵ | waylan | 2008-04-28 | 1 | -1/+1 |
| | | | | | | | | the 1.7 final release. | ||||
* | | Adding four extensions that weren't in source control before. | Yuri Takhteyev | 2008-05-02 | 4 | -0/+575 |
|/ | |||||
* | Added safe_mode to testing framework and soem tests. | Waylan Limberg | 2008-03-19 | 11 | -64/+328 |
| | |||||
* | Added sanatition of link urls when in safe_mode to no longer allow ↵ | Waylan Limberg | 2008-03-18 | 3 | -6/+96 |
| | | | | javascript. Not yet convinced I got all cases, but it's much better than before. Also added some tests although testing framework doesn't currently have the option to run in safe_mode. See [1914685] for more info. | ||||
* | Added more docstrings. All but a few private methods should now be ↵ | Waylan Limberg | 2008-03-13 | 1 | -16/+61 |
| | | | | documented in the code. | ||||
* | Added docstrings to pre/post processors and misc aux functions. | Waylan Limberg | 2008-03-12 | 1 | -19/+59 |
| | |||||
* | Added docstrings to NanoDom classes and methods. May be some room for ↵ | Waylan Limberg | 2008-03-11 | 1 | -8/+45 |
| | | | | improvement. | ||||
* | Removed print_error method as it's not being used anywhere. | Waylan Limberg | 2008-03-11 | 1 | -5/+0 |
| | |||||
* | Added docstrings to all root level functions. | Waylan Limberg | 2008-03-11 | 1 | -4/+63 |
| | |||||
* | Fixing minor error in last commit. | Waylan Limberg | 2008-03-10 | 1 | -1/+1 |
| | |||||
* | Edited existing docstrings to more closely conform to PEP 257 and to contain ↵ | Waylan Limberg | 2008-03-10 | 1 | -106/+180 |
| | | | | markdown formatting. Still a lot of documentation improvments to go. | ||||
* | Moved line-endings cleanup from transform to convert method so it runs prior ↵ | Waylan Limberg | 2008-03-06 | 3 | -7/+16 |
| | | | | to textPreprocessors. Raw HTML with CRLF line endings now works properly. Also added a test. Fixes [1908691]. | ||||
* | fixed testing framework to actually use the extensions passed in and a few ↵ | Waylan Limberg | 2008-03-03 | 6 | -43/+44 |
| | | | | other minor cleanup things. | ||||
* | Some tests I forgot to checking with recent commits. | Waylan Limberg | 2008-03-03 | 4 | -4/+53 |
| | |||||
* | Fixed bugs involving greedy/non-greedy regexes | David Wolever | 2008-02-29 | 5 | -79/+9 |
| | |||||
* | Added an example of how to use footnotes, fixed a small bug where the return ↵ | David Wolever | 2008-02-26 | 1 | -1/+9 |
| | | | | link's title always said "Jump back to footnote 1" | ||||
* | Removed the rigorous type-checking when loading extensions. If it walks ↵ | David Wolever | 2008-02-26 | 1 | -2/+4 |
| | | | | like a duck... | ||||
* | mdx_footnotes.makeExtension() was crashing because the default value of ↵ | David Wolever | 2008-02-26 | 1 | -1/+1 |
| | | | | configs was None instead of []. | ||||
* | forgot to include the extension in the error message. | David Wolever | 2008-02-25 | 1 | -2/+2 |
| | |||||
* | Modified the Markdown object to accept extensions as instantiated Extension ↵ | David Wolever | 2008-02-25 | 1 | -52/+53 |
| | | | | objects. No APIs were harmed :) | ||||
* | Allow one or two spaces before a blockquote. Fixes [1899925] | Waylan Limberg | 2008-02-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | That report actually askes for three spaces in imitation of markdown.pl. However, the syntax rules overrule markdown.pl (even per J.G.) and the rules give no such allowance for any spaces. Such spaces have been a subject of debate on the list as well. As it turns out, in python-markdown, allowing 3 spaces creates some problems for nested blockquotes (i.e.: a codeblock in a blockquote would need to be indented 5 spaces rather than 4.) Since we can't be breaking that currently correct and expected behavior, I'll conceed and allow 2. After all, markdown is supposed to be easier for humans to read and edit. One or two spaces are not so easy for the human eye to detect, so we'll allow them. Three looks much more like 4, so I don't care that we don't allow that many. | ||||
* | Added https and ftp to autolinks. Fixes [1897830]. | Waylan Limberg | 2008-02-21 | 1 | -1/+1 |
| | |||||
* | forgot to update version_info for 1.7 release | Waylan Limberg | 2008-02-20 | 2 | -2/+2 |
| | |||||
* | Added svn:ignore properties to test directories, checked in failing test case. | David Wolever | 2008-02-18 | 2 | -0/+3 |
| | |||||
* | Final commit before 1.7 final is released. Updated CHAGE_LOG, setp.py 1.7_Final | Waylan Limberg | 2008-02-18 | 3 | -3/+18 |
| | | | | | and added a MANIFEST file. | ||||
* | Added better documentation to pre & post proccessors and fixed inheritance ↵ | Waylan Limberg | 2008-02-13 | 1 | -90/+128 |
| | | | | issues. | ||||
* | Just doing a little code cleanup. | Waylan Limberg | 2008-02-13 | 1 | -27/+18 |
| | |||||
* | Fixed rawhtml to properly honor <?foo>, <@foo>, and <%foo>. Fixed | Waylan Limberg | 2008-02-09 | 1 | -1/+1 |
| | | | | | [1861160] | ||||
* | No longer replacing " with @quot;. Fixes [1862742] | Waylan Limberg | 2008-02-09 | 11 | -154/+143 |
| | |||||
* | fixed some basic white space issues in code with mdx_footnotes.py. Fixed ↵ | Waylan Limberg | 2008-02-08 | 1 | -6/+6 |
| | | | | [1877510]. | ||||
* | Updated changelog. | Waylan Limberg | 2007-12-13 | 1 | -1/+2 |
| | |||||
* | Adjustments to match unicode policy as discussed on list and other minor | Waylan Limberg | 2007-12-13 | 6 | -112/+104 |
| | | | | | cleanup in preparation for release 1.7. | ||||
* | Updated docs. | Waylan Limberg | 2007-12-13 | 5 | -375/+191 |
| | |||||
* | Updated docs - removed home_page.txt and added README.txt | Waylan Limberg | 2007-12-13 | 0 | -0/+0 |
| | |||||
* | Set property svn:keywords to "Revision". Now the "$Rev$" keyword should work. | Waylan Limberg | 2007-12-03 | 0 | -0/+0 |
| | |||||
* | Updated CHANGE_LOG to include recent changes | Waylan Limberg | 2007-11-29 | 1 | -5/+17 |
| | |||||
* | Added support for images inside links and updated tests. Fixes [1458136]. | Waylan Limberg | 2007-11-29 | 5 | -69/+64 |
| | | | | | | | | Note, to accomplish this, a negative lookbehind (for a !) was added to each link regex so they could be run before the image regex. The (fairly new) recursion on the link text then parses the image. Not sure how the negative lookbehind will affect performance. | ||||
* | Footnotes that end in anyting but a <p> (list, blockquote, codeblock) now have | Waylan Limberg | 2007-11-29 | 5 | -66/+132 |
| | | | | | | | | | | | | | | | | the backlink in a <p> which is appended to the end of the footnote. Fixes [1831600] Also fixed multiparagraph footnotes so that the first paragraph is actually wrapped in a <p> element. This results in one-liners also wrapped in <p> elements, but this is inline with PHP Markdown Extra's behavior. That means the test for `node.type == "text"` should never get a match, but I'm leaving it in for now. Also added some tests, although they are not properly included in a test directory for use with the testing framework. Seeing the framework currently ignores extensions, we'll worry about that later. | ||||
* | Cleaned up some shitespace - all colons (:) are consistantly spaced and ↵ | Waylan Limberg | 2007-11-28 | 1 | -300/+300 |
| | | | | other minor things | ||||
* | `message` now uses logging module. | Waylan Limberg | 2007-11-19 | 1 | -11/+22 |
| | |||||
* | Removed recursion limit in _process_section(). Fixes [1763338] | Waylan Limberg | 2007-11-19 | 1 | -50/+47 |
| | |||||
* | Added escaping to commandline. | Waylan Limberg | 2007-11-05 | 1 | -3/+3 |
| | |||||
* | safe_mode now has three options: "replace", "remove" and "escape". Setting ↵ | Waylan Limberg | 2007-11-05 | 1 | -6/+8 |
| | | | | safe_mode to True gets the old behavior - "replace". | ||||
* | Brought CHANGELOG uptodate. | Waylan Limberg | 2007-11-05 | 1 | -0/+14 |
| | |||||
* | Added html escaping as an optional behavior to the default of removing html ↵ | Waylan Limberg | 2007-11-05 | 1 | -2/+12 |
| | | | | in safe_mode. | ||||
* | Cleaned up doc string and code for RawHtmlTextPreprocessor. | Waylan Limberg | 2007-11-05 | 1 | -2/+16 |
| | |||||
* | Created a RawHtmlTextPreprocessor and moved code that restores/strips raw ↵ | Waylan Limberg | 2007-11-05 | 1 | -16/+25 |
| | | | | html from the convert method to that TextPreprocessor. It should now be rather simple to write an extension to perhapsescape the html instead. | ||||
* | Fixed a typo in the docstring. | Waylan Limberg | 2007-11-03 | 1 | -1/+1 |
| |