aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added support for images inside links and updated tests. Fixes [1458136].Waylan Limberg2007-11-295-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 haveWaylan Limberg2007-11-295-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 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".
* Brought CHANGELOG uptodate.Waylan Limberg2007-11-051-0/+14
|
* 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-034-3/+3
| | | | testing framework to allow tests for this and added tests. Fixes [1825231]
* added tests for codeblock on first lineWaylan Limberg2007-11-032-0/+3
|
* Fixed infinite loop in bracket regex and added testsWaylan Limberg2007-10-303-2/+124
|
* Fixed BOM removal with non-ASCII input [1817528] - Thanks for the patch ↵Waylan Limberg2007-10-301-6/+6
| | | | Malcolm Tredinnick
* Factored out header and paragraph code from _processSection() to ↵Waylan Limberg2007-10-111-27/+32
| | | | _processHeader() & _processParagraph(). See [1793419].
* Horizontal rules in block quotes with tests. Fixes [1709864].Waylan Limberg2007-10-113-2/+51
|
* Previous commit (r42) was supposed to update the misc/two-spaces test so ↵Waylan Limberg2007-10-112-0/+36
| | | | here it is.
* Updated misc/some-test to test line breaks in list items and removed the ↵Waylan Limberg2007-10-111-9/+5
| | | | "inline" tag on the htmlStash - The old Linebreaks proprocessor was the only thing using it.
* Replace LineBreaks preprocessor with an inlinePattern and update tests. ↵Waylan Limberg2007-10-116-50/+31
| | | | Blank lines (" \n") and headers no longer get linebreaks and the two spaces are no longer preserved.
* Added textPreprocessor - all missing chnages in 1.6b should now be in trunk.Waylan Limberg2007-10-091-6/+8
|
* Updated tests/misc/more_comments.html to match 1.6 - fixes [1794694]Waylan Limberg2007-10-091-0/+10
|
* Removed whitespace from numeric entity test that shouldn't be there.Waylan Limberg2007-10-081-1/+1
|
* Empty inline image link - fixed [1799251]Waylan Limberg2007-10-081-1/+4
|
* fixed whitespace handling to match 1.6b - a codeblock on the first line now ↵Waylan Limberg2007-10-081-2/+2
| | | | works.
* Fixed lazy blockquote and added testsWaylan Limberg2007-10-085-2/+41
|
* Added `safe` & `inline` tags to htmlStash to fix a few bugsWaylan Limberg2007-10-071-9/+20
|
* Limit recursion in inlinePatterns to patterns not yet runWaylan Limberg2007-10-071-5/+8
|
* checking if the revision string worksYuri Takhteyev2007-03-250-0/+0
|
* Revised the documentation section of the file. Added version attributeYuri Takhteyev2007-03-251-18/+18
| | | | | | to the module.
* Fixed another small bug in case of a list item starting with a Yuri Takhteyev2007-03-251-3/+5
| | | | | blank line (didn't work in 1.6a either)
* Support for mismatched block-level html tags.Yuri Takhteyev2007-03-252-0/+12
|
* Handle unbalanced block-level tags.Yuri Takhteyev2007-03-251-1/+8
|
* Added test casesYuri Takhteyev2007-03-25136-0/+5116
|
* Added a test scriptYuri Takhteyev2007-03-251-0/+355
|
* Added support for bidirectional text and BOM removal.Yuri Takhteyev2007-03-251-66/+161
|
* Changed the default conversion method to pass the text to the convert() Yuri Takhteyev2007-03-191-6/+9
| | | | | | | | | | | | | | method (was "toString()") rather than to the constructor. The idea is to get rid of the parameter in the constructor later, so that the standard pattern would be: markdown.Markdown().convert(text) rather than str(markdown.Markdown(text))
* Got rid of some side effects of the new bug fixes.Yuri Takhteyev2007-03-191-6/+20
|
* Fixed a GUID issue.Yuri Takhteyev2007-03-191-1/+6
|
* Added support for content inside CDATA.Yuri Takhteyev2007-03-191-0/+115
|
* Fixed a bug introduced in the previous version (ampersands were no Yuri Takhteyev2007-03-191-8/+25
| | | | | | longer normalized) and added support for a CDATA node in NanoDom.
* Added extensions to setup.pyYuri Takhteyev2007-03-181-0/+13
|
* Updates to the website for 1.6bYuri Takhteyev2007-03-183-25/+125
|
* March 18, 2007: Fixed or merged a bunch of minor bugs, includingYuri Takhteyev2007-03-181-54/+68
| | | | | | | multi-line comments and markup inside links. (Tracker #s: 1683066, 1671153, 1661751, 1627935, 1544371, 1458139.) -> v. 1.6b
* version 1.6aYuri Takhteyev2007-01-101-12/+29
|
* v 1.6Yuri Takhteyev2006-10-121-0/+92
|
* v 1.6Yuri Takhteyev2006-10-121-82/+163
|
* v 1.6Yuri Takhteyev2006-10-121-0/+252
|
* v 1.6Yuri Takhteyev2006-10-121-534/+234
|