aboutsummaryrefslogtreecommitdiffstats
path: root/markdown.py
Commit message (Collapse)AuthorAgeFilesLines
* Added special case for raw html in safe-mode. The escaped/replaced html is ↵Waylan Limberg2008-08-221-2/+3
| | | | now wrapped in <p> tags so we have valid html.
* Merge branch 'master' of git@gitorious.org:python-markdown/mainlineWaylan Limberg2008-08-221-19/+7
|\
| * Added check for AtomicStrinc instead of ['code', 'pre'] check, deleted some ↵Artem Yunusov2008-08-231-19/+7
| | | | | | | | commented code lines.
* | Fixed Ticket 13. Raw block-level html are no longer being inserted into <p> ↵Waylan Limberg2008-08-221-1/+1
|/ | | | | | | | | | | | | tags. Also edited numerious tests that were expecting wrong output - they now expect correct output. Note that a few **still fail** because the output before moving to ELementTree wasn't correct either. So I set the expected output to what I think it should be so we don't forget about it later. I should also note that the 'safe-mode' tests are failing. However, I believe the current expected output is correct as it is valid html. Interestingly, these tests passed prior to this fix. We'll need to special case safe-mode here.
* As Markdown.__init__ no longer accepts a 'source' keyword, we no longer need ↵Waylan Limberg2008-08-221-5/+2
| | | | to ensure that the 'source' kerword of Markdown.convert does not override it when set to 'None'. Now that Markdown.convert is the only place 'source' should be set, we can assume we always use it. And while we're at it, we might as well make 'source' a required argument.
* Empty line bug.Artem Yunusov2008-08-221-5/+7
|
* Merge git@gitorious.org:python-markdown/mainlineArtem Yunusov2008-08-211-10/+16
|\ | | | | | | | | | | Conflicts: markdown.py
| * "sanatize_url" -> "sanitize_url"Yuri Takhteyev2008-08-211-5/+5
| |
| * Changing string to unicode in Neale's fix. Adding test cases.Yuri Takhteyev2008-08-201-1/+1
| |
| * Pattern.compiled_reNeale Pickett2008-08-201-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > I suppose one thing to do would be to somehow "annotate" nodes to > specify that they should not have their children processed. Artem, > what would you suggest? Then, <a> nodes created with [...]() would > get their children processed, but those created with autolinks (<...>) > will be marked as done. Okay, I promise to get on the mail list, but this was such an obvious and elegant solution that I couldn't wait for the subscription to finish. Any objections to me starting a branch and pushing this to your gitorious project? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* | Got rid of inline sections.Artem Yunusov2008-08-211-24/+51
|/
* 2.0-beta tag.2.0-betaArtem Yunusov2008-08-181-1/+1
|
* Removed depreciated 'source' keyword argument from Markdown.__init__() in ↵Waylan Limberg2008-08-121-5/+2
| | | | preparation for 2.0. This should be the last of any depreciated features.
* renamed extension module and set import to extension module first, then ↵Waylan Limberg2008-08-111-6/+8
| | | | mdx_filename
* reorganized the extensions into a seperate dir. Much cleaner looking file ↵Waylan Limberg2008-08-091-3/+6
| | | | system IMO.
* AND_SUBSTITUTE -> AMP_SUBSTITUTEArtem Yunusov2008-08-091-12/+18
|
* Comments cleanup, deleted Markdown._processTree function.Artem Yunusov2008-08-091-48/+60
|
* ElementTree version check added.Artem Yunusov2008-08-081-3/+16
|
* Corrected placeholder prefices to proper STX and ETX codes.Yuri Takhteyev2008-08-061-9/+9
|
* Switching from codecs.decode to codecs.utf_8_decode for compatibility with ↵Yuri Takhteyev2008-08-061-1/+1
| | | | python2.3.
* Removed 'revision' var as is't no longer useful now that we are useing git ↵Waylan Limberg2008-08-061-8/+1
| | | | rather than svn.
* Added commandline script and updated CHANGE_LOG and MANIFEST.Waylan Limberg2008-08-051-3/+4
|
* Added alpha version tag.2.0-alphaArtem Yunusov2008-08-051-2/+2
|
* Added reset methods for InlineStash and HtmlStash. Some cleanups and ↵Artem Yunusov2008-08-041-18/+21
| | | | comments modifications.
* Bugfix for inline patterns. Tables extension ported to ElementTree.Artem Yunusov2008-08-041-6/+15
|
* Merge git://gitorious.org/python-markdown/mainlineArtem Yunusov2008-08-021-9/+32
|\ | | | | | | | | | | | | Conflicts: markdown.py mdx_rss.py
| * Fixing ticket 000007 (Ordered and unordered list merged).Yuri Takhteyev2008-07-201-2/+1
| |
| * Import failures in load_extension are again silent (Markdown continues ↵Waylan Limberg2008-07-171-4/+21
| | | | | | | | without the extension). Added the overridable extendMarkdown method to the Extension class which makes it easy for load_extension to create and return a dummy extension on import failure. Besides, it should be there anyway to document the API.
| * Switching to simpler non-printable placeholders.Yuri Takhteyev2008-07-011-5/+4
| |
| * Using control characters for HTML placeholdersYuri Takhteyev2008-07-011-2/+9
| |
* | Some other extensions ported to ElementTree, litle bugfix in core.Artem Yunusov2008-08-021-4/+4
| |
* | Some cleanups.Artem Yunusov2008-08-011-42/+36
| |
* | A lot of bug fixes, added ElementTree support for extensions, some new tests.Artem Yunusov2008-07-311-71/+83
| |
* | Missing link defenition bug fixed.Artem Yunusov2008-07-221-8/+15
| |
* | Aggregated strong and strong_em regexps. Nested strong_em bug fix. Some new ↵Artem Yunusov2008-07-191-18/+8
| | | | | | | | tests added.
* | Ticket #4fix. Deleted LINK_ANGLED_PATTERN, deleted Pattern.contentGroup ↵Artem Yunusov2008-07-191-22/+19
| | | | | | | | attribute.
* | Aggregated regexp for both backtick and double backtick.Artem Yunusov2008-07-161-9/+4
| |
* | 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
|\