Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Made private methods actually private (to keep us honest) and removed | Yuri Takhteyev | 2008-10-12 | 1 | -453/+427 |
| | | | | unnecessary whitespace. | ||||
* | Refactored markdown tree traversing logic into a separate class | Yuri Takhteyev | 2008-10-12 | 1 | -202/+189 |
| | | | | (InlineProcessor). | ||||
* | More cleanup. Refactored all the core parsing logic into a separate | Yuri Takhteyev | 2008-10-12 | 1 | -598/+620 |
| | | | | class: MarkdownParser. | ||||
* | More cleanup. | Yuri Takhteyev | 2008-10-07 | 1 | -68/+34 |
| | |||||
* | All sorts of cleanup. | Yuri Takhteyev | 2008-10-07 | 1 | -396/+291 |
| | | | | | | The bigger changes include getting rid of old BOM-removal logic and getting rid of BlockGuru. Most of the changes are just re-ordering of functions, removal of whitespace, adding comments, etc. | ||||
* | Changing logging per Michael Bayer's suggestion. | Yuri Takhteyev | 2008-10-06 | 1 | -55/+58 |
| | |||||
* | Checking if logger level is set before changing it. | Yuri Takhteyev | 2008-10-06 | 1 | -2/+3 |
| | |||||
* | Fixed stupid mistake in previous commit. | Waylan Limberg | 2008-09-04 | 1 | -1/+1 |
| | |||||
* | Moved prettifyETree into a Postprocessor and added code to append all '<br ↵ | Waylan Limberg | 2008-09-04 | 1 | -25/+40 |
| | | | | />' tags with a linebreak. Also fixed a minor bug were the '<br />' tags contained 2 spaces instead of one before the slash (i.e. '<br />'). Note that by moving to a Postprocessor, anyone can override with their own code which does what they want (i.e. add indentation) with the extension api. | ||||
* | Refactor inline placeholders and use strings of random chars for placeholders. | Waylan Limberg | 2008-09-03 | 1 | -19/+12 |
| | |||||
* | Replaced indentation with linebreaks only. At least its more consistant - ↵ | Waylan Limberg | 2008-09-03 | 1 | -17/+15 |
| | | | | and it better matches other markdown implementations. Also updated tests. | ||||
* | Comments updates. | splyer | 2008-08-24 | 1 | -28/+7 |
| | |||||
* | more_comments test works fine now. | Artem Yunusov | 2008-08-24 | 1 | -1/+2 |
| | |||||
* | isBlockLevel function and HtmlBlockPreprocessor changed. more_comments test ↵ | Artem Yunusov | 2008-08-24 | 1 | -10/+11 |
| | | | | works fine now. | ||||
* | Fixed some bugs concerning HTML, test extended and works. | Artem Yunusov | 2008-08-24 | 1 | -5/+23 |
| | |||||
* | Fixed Ticket 11. Disabled ``indenteTree`` for `pre` and `code` tags. Now | Waylan Limberg | 2008-08-22 | 1 | -1/+1 |
| | | | | | | | | | whitespace is preserved in codeblocks. As a side-benefit, this also solved the issue with the safe-mode tests failing. All tests incorectly altered at ElementTree conversion have been corrected for this bug. Any remaining tests that fail are unrelated to this. | ||||
* | Improved past commit - treated safe raw html properly. | Waylan Limberg | 2008-08-22 | 1 | -2/+1 |
| | |||||
* | Added special case for raw html in safe-mode. The escaped/replaced html is ↵ | Waylan Limberg | 2008-08-22 | 1 | -2/+3 |
| | | | | now wrapped in <p> tags so we have valid html. | ||||
* | Merge branch 'master' of git@gitorious.org:python-markdown/mainline | Waylan Limberg | 2008-08-22 | 1 | -19/+7 |
|\ | |||||
| * | Added check for AtomicStrinc instead of ['code', 'pre'] check, deleted some ↵ | Artem Yunusov | 2008-08-23 | 1 | -19/+7 |
| | | | | | | | | commented code lines. | ||||
* | | Fixed Ticket 13. Raw block-level html are no longer being inserted into <p> ↵ | Waylan Limberg | 2008-08-22 | 1 | -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 Limberg | 2008-08-22 | 1 | -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 Yunusov | 2008-08-22 | 1 | -5/+7 |
| | |||||
* | Merge git@gitorious.org:python-markdown/mainline | Artem Yunusov | 2008-08-21 | 1 | -10/+16 |
|\ | | | | | | | | | | | Conflicts: markdown.py | ||||
| * | "sanatize_url" -> "sanitize_url" | Yuri Takhteyev | 2008-08-21 | 1 | -5/+5 |
| | | |||||
| * | Changing string to unicode in Neale's fix. Adding test cases. | Yuri Takhteyev | 2008-08-20 | 1 | -1/+1 |
| | | |||||
| * | Pattern.compiled_re | Neale Pickett | 2008-08-20 | 1 | -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 Yunusov | 2008-08-21 | 1 | -24/+51 |
|/ | |||||
* | 2.0-beta tag.2.0-beta | Artem Yunusov | 2008-08-18 | 1 | -1/+1 |
| | |||||
* | Removed depreciated 'source' keyword argument from Markdown.__init__() in ↵ | Waylan Limberg | 2008-08-12 | 1 | -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 Limberg | 2008-08-11 | 1 | -6/+8 |
| | | | | mdx_filename | ||||
* | reorganized the extensions into a seperate dir. Much cleaner looking file ↵ | Waylan Limberg | 2008-08-09 | 1 | -3/+6 |
| | | | | system IMO. | ||||
* | AND_SUBSTITUTE -> AMP_SUBSTITUTE | Artem Yunusov | 2008-08-09 | 1 | -12/+18 |
| | |||||
* | Comments cleanup, deleted Markdown._processTree function. | Artem Yunusov | 2008-08-09 | 1 | -48/+60 |
| | |||||
* | ElementTree version check added. | Artem Yunusov | 2008-08-08 | 1 | -3/+16 |
| | |||||
* | Corrected placeholder prefices to proper STX and ETX codes. | Yuri Takhteyev | 2008-08-06 | 1 | -9/+9 |
| | |||||
* | Switching from codecs.decode to codecs.utf_8_decode for compatibility with ↵ | Yuri Takhteyev | 2008-08-06 | 1 | -1/+1 |
| | | | | python2.3. | ||||
* | Removed 'revision' var as is't no longer useful now that we are useing git ↵ | Waylan Limberg | 2008-08-06 | 1 | -8/+1 |
| | | | | rather than svn. | ||||
* | Added commandline script and updated CHANGE_LOG and MANIFEST. | Waylan Limberg | 2008-08-05 | 1 | -3/+4 |
| | |||||
* | Added alpha version tag.2.0-alpha | Artem Yunusov | 2008-08-05 | 1 | -2/+2 |
| | |||||
* | Added reset methods for InlineStash and HtmlStash. Some cleanups and ↵ | Artem Yunusov | 2008-08-04 | 1 | -18/+21 |
| | | | | comments modifications. | ||||
* | Bugfix for inline patterns. Tables extension ported to ElementTree. | Artem Yunusov | 2008-08-04 | 1 | -6/+15 |
| | |||||
* | Merge git://gitorious.org/python-markdown/mainline | Artem Yunusov | 2008-08-02 | 1 | -9/+32 |
|\ | | | | | | | | | | | | | Conflicts: markdown.py mdx_rss.py | ||||
| * | Fixing ticket 000007 (Ordered and unordered list merged). | Yuri Takhteyev | 2008-07-20 | 1 | -2/+1 |
| | | |||||
| * | Import failures in load_extension are again silent (Markdown continues ↵ | Waylan Limberg | 2008-07-17 | 1 | -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 Takhteyev | 2008-07-01 | 1 | -5/+4 |
| | | |||||
| * | Using control characters for HTML placeholders | Yuri Takhteyev | 2008-07-01 | 1 | -2/+9 |
| | | |||||
* | | Some other extensions ported to ElementTree, litle bugfix in core. | Artem Yunusov | 2008-08-02 | 1 | -4/+4 |
| | | |||||
* | | Some cleanups. | Artem Yunusov | 2008-08-01 | 1 | -42/+36 |
| | | |||||
* | | A lot of bug fixes, added ElementTree support for extensions, some new tests. | Artem Yunusov | 2008-07-31 | 1 | -71/+83 |
| | |