summaryrefslogtreecommitdiff
path: root/markdown/inlinepatterns.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Factored out the building of the various processors and patterns into ↵Waylan Limberg2010-07-071-0/+28
| | | | utility functions called by a build_parser method on the Markdown class. Editing of the processors and patterns now all happen in one file for each type. Additionaly, a subclass of Markdown could potentially override the build_parser method and build a parser for a completely differant markup language without first building the default and then overriding it.
* Moved a bunch of global variables to the instance of the Markdown class.Waylan Limberg2010-07-061-7/+3
|
* Rename misc.py to util.py at the request of upstreamToshio Kuratomi2010-07-051-21/+21
|
* Break cyclic import of markdown. This allows people to embed markdownToshio Kuratomi2010-07-051-21/+21
| | | | if they desire.
* Fixed Ticket 38. With smart_emphasis turned on, emphasised text can now be ↵Waylan Limberg2009-07-211-1/+1
| | | | wrapped in punctuation without spaces and still will be converted to emphasis (ie: '[_foo_]'). Test included. Thanks for the report seanh.
* Fixed ticket 33. Tweaked the regex for inline links so that the title is ↵Waylan Limberg2009-05-061-1/+1
| | | | non-greedy - it no longer eats everything between the first links title and the last links title in a paragraph. Thanks to Charles Winebrinner for the report.
* Improved inline pattern regex for em & strong and added tests. Fixes Ticket ↵Waylan Limberg2009-03-301-6/+6
| | | | 30 and other related issues. Note that I went with php's behavior rather than perl's when we have have three (ie.: *** or ___) without a closing three.
* Fixed attribute creation to remove newlines and associated misc/uche test. ↵Waylan Limberg2008-12-081-1/+1
| | | | Apparently differant versions of ElementTree encode line breaks in attributes differantly. Therefore, we just remove any such linebreaks as they are insignificant anyway.
* Different way of importing htmlentitydefs for python 3.0 and disabling diff ↵Yuri Takhteyev2008-12-041-1/+5
| | | | | | output in test-markdown.py for the same.
* Getting rid of has_key for compatibility with python3k.Yuri Takhteyev2008-12-041-1/+1
|
* Attempting a refactoring, breaking markdown into multiple files.Yuri Takhteyev2008-11-171-0/+367