aboutsummaryrefslogtreecommitdiffstats
path: root/markdown.py
Commit message (Collapse)AuthorAgeFilesLines
* Ticket #5, backtick regexp change.Artem Yunusov2008-07-161-4/+4
|
* Output bug fixed(stripping text data at the end of processing in ↵Artem Yunusov2008-07-151-56/+64
| | | | _processPlaceholders). Ticket #5 fixed.
* A lot of bug fixes. Handlig attributes added, new hr processing. Reformatted ↵Artem Yunusov2008-07-141-81/+100
| | | | test suite for ElementTree output.
* Unicode bug fix, stripping top level tags, small changes with identation.Artem Yunusov2008-07-091-7/+8
|
* Some bug fixes, added function that converts character code to entity ↵Artem Yunusov2008-07-081-380/+84
| | | | defenition.
* ElementTree support added.Artem Yunusov2008-07-061-144/+224
|
* Code blocks escaping bug fixed. Some test suite modifications.Artem Yunusov2008-07-031-3/+3
|
* Placeholder generator in InlineStash changed. Fixed bug with missing link ↵Artem Yunusov2008-07-031-55/+57
| | | | defenitions.
* New mechanism for processing Inline Patterns.Artem Yunusov2008-07-021-112/+169
|
* Code blocks escaping bug fixed.Artem2008-06-271-13/+11
|
* Test suite cleanup. README for markdown2 tests. Separation in two ↵Artem2008-06-261-21/+98
| | | | stages(markdown to tree, applying inline patterns).
* first commitArtem2008-06-241-13/+19
|
* Merge git://gitorious.org/python-markdown/mainlineYuri Takhteyev2008-05-301-1/+1
|\
| * Allow hashes (#) in body of headers -- with tests. Thank you John ↵Waylan Limberg2008-05-141-1/+1
| | | | | | | | Szakmeister for the bug report and patch.
* | unwrapping urlparse result tuple manually for python 2.4 compatibility.Jeff Balogh2008-05-301-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.
* Updated version_info from 'rc-2' to 'final'. Should have done this before ↵waylan2008-04-281-1/+1
| | | | the 1.7 final release.
* Added sanatition of link urls when in safe_mode to no longer allow ↵Waylan Limberg2008-03-181-6/+45
| | | | 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 Limberg2008-03-131-16/+61
| | | | documented in the code.
* Added docstrings to pre/post processors and misc aux functions.Waylan Limberg2008-03-121-19/+59
|
* Added docstrings to NanoDom classes and methods. May be some room for ↵Waylan Limberg2008-03-111-8/+45
| | | | improvement.
* Removed print_error method as it's not being used anywhere.Waylan Limberg2008-03-111-5/+0
|
* Added docstrings to all root level functions.Waylan Limberg2008-03-111-4/+63
|
* Fixing minor error in last commit.Waylan Limberg2008-03-101-1/+1
|
* Edited existing docstrings to more closely conform to PEP 257 and to contain ↵Waylan Limberg2008-03-101-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 Limberg2008-03-061-7/+6
| | | | to textPreprocessors. Raw HTML with CRLF line endings now works properly. Also added a test. Fixes [1908691].
* Fixed bugs involving greedy/non-greedy regexesDavid Wolever2008-02-291-6/+6
|
* Removed the rigorous type-checking when loading extensions. If it walks ↵David Wolever2008-02-261-2/+4
| | | | like a duck...
* forgot to include the extension in the error message.David Wolever2008-02-251-2/+2
|
* Modified the Markdown object to accept extensions as instantiated Extension ↵David Wolever2008-02-251-52/+53
| | | | objects. No APIs were harmed :)
* Allow one or two spaces before a blockquote. Fixes [1899925]Waylan Limberg2008-02-231-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 Limberg2008-02-211-1/+1
|
* forgot to update version_info for 1.7 releaseWaylan Limberg2008-02-201-1/+1
|
* Added better documentation to pre & post proccessors and fixed inheritance ↵Waylan Limberg2008-02-131-90/+128
| | | | issues.
* Just doing a little code cleanup.Waylan Limberg2008-02-131-27/+18
|
* Fixed rawhtml to properly honor <?foo>, <@foo>, and <%foo>. Fixed Waylan Limberg2008-02-091-1/+1
| | | | | [1861160]
* No longer replacing " with @quot;. Fixes [1862742]Waylan Limberg2008-02-091-3/+2
|
* Adjustments to match unicode policy as discussed on list and other minor Waylan Limberg2007-12-131-29/+33
| | | | | cleanup in preparation for release 1.7.
* Added support for images inside links and updated tests. Fixes [1458136].Waylan Limberg2007-11-291-6/+7
| | | | | | | | 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.
* Cleaned up some shitespace - all colons (:) are consistantly spaced and ↵Waylan Limberg2007-11-281-300/+300
| | | | other minor things
* `message` now uses logging module.Waylan Limberg2007-11-191-11/+22
|
* Removed recursion limit in _process_section(). Fixes [1763338]Waylan Limberg2007-11-191-50/+47
|
* Added escaping to commandline.Waylan Limberg2007-11-051-3/+3
|
* safe_mode now has three options: "replace", "remove" and "escape". Setting ↵Waylan Limberg2007-11-051-6/+8
| | | | safe_mode to True gets the old behavior - "replace".
* Added html escaping as an optional behavior to the default of removing html ↵Waylan Limberg2007-11-051-2/+12
| | | | in safe_mode.
* Cleaned up doc string and code for RawHtmlTextPreprocessor.Waylan Limberg2007-11-051-2/+16
|
* Created a RawHtmlTextPreprocessor and moved code that restores/strips raw ↵Waylan Limberg2007-11-051-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 Limberg2007-11-031-1/+1
|
* Allow repeated calls to md.convert to pass in an empty string. Also fixed ↵Waylan Limberg2007-11-031-1/+1
| | | | testing framework to allow tests for this and added tests. Fixes [1825231]
* Fixed infinite loop in bracket regex and added testsWaylan Limberg2007-10-301-2/+2
|
* Fixed BOM removal with non-ASCII input [1817528] - Thanks for the patch ↵Waylan Limberg2007-10-301-6/+6
| | | | Malcolm Tredinnick