Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #47. Improved HRProccessor.\n\nPython's re module does not support ↵ | Waylan Limberg | 2011-11-17 | 1 | -18/+19 |
| | | | | atomic grouping, which was slowing the HR regex down if a long HR ended with a non HR char (casing the regex to backtrack). Therefore, we have to simulate atomic grouping. Fortunately, we only need to match end-of-line or end-of-string after the atomic group here, so it was an easy case to simulate. Just remove the '$' from the end of the regex and manualy check using m.end(). The run method was refactored while I was at it, saving us from running the regex twice for each HR. | ||||
* | Fixed #22. Horizontal rules now work in a few more crazy edge cases. Who ↵ | Waylan Limberg | 2011-06-16 | 1 | -1/+1 |
| | | | | actualy useses these? Anyway, we now match markdown.pl. | ||||
* | Fixed #21. A header and paragraph not seperated by a blank line inside a ↵ | Waylan Limberg | 2011-06-15 | 1 | -4/+27 |
| | | | | list item are now parsed correctly. One of those crazy wierd edge cases that no one would ever test for, but is obvious once you see it. | ||||
* | Fixed #15. Setext Headers now work with any number of - or = characters. | Waylan Limberg | 2011-06-01 | 1 | -1/+1 |
| | |||||
* | Made lazy ordered lists a settable option. The previous behavior (on) is the ↵ | Waylan Limberg | 2011-04-29 | 1 | -1/+1 |
| | | | | default. | ||||
* | Merge commit 'refs/merge-requests/13' of ↵ | Waylan Limberg | 2011-04-28 | 1 | -1/+16 |
|\ | | | | | | | git://gitorious.org/python-markdown/mainline into merge-requests/13 | ||||
| * | fixed startindex reset in multiple ul | Rohan Jain | 2011-04-05 | 1 | -6/+4 |
| | | | | | | | | | | Now the startindex would be reset if continual unordered lists are present (tests are passed). | ||||
| * | add new list item comment | Rohan Jain | 2011-04-03 | 1 | -0/+1 |
| | | |||||
| * | custom index support for ol tag | Rohan Jain | 2011-04-03 | 1 | -1/+17 |
| | | | | | | | | | | | | | | A ol tag with custom start index can be defined by using a different integer as the first item numbering. Search for `3. Bird` on: http://daringfireball.net/projects/markdown/syntax | ||||
* | | fix import loop when importing logger | Craig de Stigter | 2011-04-18 | 1 | -1/+3 |
| | | |||||
* | | sane logging. remove sys.exit() calls (libraries should never ever call ↵ | Craig de Stigter | 2011-04-18 | 1 | -3/+2 |
|/ | | | | sys.exit()) and raise appropriate exceptions instead. backwards incompatible insofar as custom extensions may need tweaks if they're using old markdown logging (but they shouldn't, it was gross) | ||||
* | A better implementation of globals as attributes on the Markdown class. This ↵ | Waylan Limberg | 2010-07-07 | 1 | -11/+11 |
| | | | | should be more future proof. | ||||
* | Factored out the building of the various processors and patterns into ↵ | Waylan Limberg | 2010-07-07 | 1 | -0/+18 |
| | | | | 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 Limberg | 2010-07-06 | 1 | -11/+15 |
| | |||||
* | Clean up previous commit a little. renamed misc_logging to md_logging and ↵ | Waylan Limberg | 2010-07-06 | 1 | -1/+2 |
| | | | | fixed imports. We import logging levels from logging directly and only import message from md_logging. | ||||
* | Rename misc.py to util.py at the request of upstream | Toshio Kuratomi | 2010-07-05 | 1 | -27/+27 |
| | |||||
* | Break cyclic import of markdown. This allows people to embed markdown | Toshio Kuratomi | 2010-07-05 | 1 | -29/+29 |
| | | | | if they desire. | ||||
* | Fix for undefined variables that need to be imported | Toshio Kuratomi | 2010-07-05 | 1 | -0/+1 |
| | |||||
* | Blockquoted text in the first item of a list is now placed in child p tag of the | Gerry LaMontagne | 2010-03-23 | 1 | -25/+3 |
| | | | | blockquote tag. Added lists8.txt and .html for test suite to test condition. | ||||
* | Fixed ticket 58. The first item of a looselist gets placed in p tags when | Gerry LaMontagne | 2010-03-22 | 1 | -3/+35 |
| | | | | | | it has a sublist. Previously, the test suite erroneously passed this condition because there was an error in the expected '.html' output file. The expected output has been corrected as well. | ||||
* | Fixed Ticket 57. Lists where the first line of an item is a nested item, now ↵ | Waylan Limberg | 2010-03-19 | 1 | -2/+17 |
| | | | | observe rules for using p tags. Thanks to Gerry LaMontagne for the patch. | ||||
* | Fixed Ticket 53. Nested lists no longer isorder items in certain edge cases. ↵ | Waylan Limberg | 2010-03-15 | 1 | -1/+5 |
| | | | | Thanks for the report and preliminary work Gerry LaMontagne. | ||||
* | Fixed ticket 35. Lists now work when padded with five or more spaces after ↵ | Waylan Limberg | 2009-06-17 | 1 | -4/+4 |
| | | | | asterisk. Adjusted regex to eat all (one or more) of the spaces. While it may seem wrong (at least in the loose list case), this is how all other implementations work. And it solves a number of edge cases otherwise not accounted for in the list parser. | ||||
* | Completed nested lists and added a test. All tests pass. | Waylan Limberg | 2009-02-04 | 1 | -5/+18 |
| | |||||
* | Added support for multilevel lists - step one. Currently only works for ↵ | Waylan Limberg | 2009-02-04 | 1 | -7/+26 |
| | | | | loose lists. In fact, non-loose lists are currently broken - seen as code blocks. | ||||
* | Making the space after angle brackets optional in blockquotes. | Yuri Takhteyev | 2008-12-24 | 1 | -1/+1 |
| | |||||
* | Fixed minor typo in each of previous two commits. | Waylan Limberg | 2008-11-22 | 1 | -1/+1 |
| | |||||
* | Made a few minor tweaks to list blockprocessors to make subclassing easier ↵ | Waylan Limberg | 2008-11-22 | 1 | -8/+15 |
| | | | | without rewriting the whole thing. | ||||
* | Fixed BlockParser to parse code blocks nested in list items and added a ↵ | Waylan Limberg | 2008-11-18 | 1 | -0/+3 |
| | | | | test. Somehow we never had a test for that before. Also reset markdown.py to be executable again. | ||||
* | Attempting a refactoring, breaking markdown into multiple files. | Yuri Takhteyev | 2008-11-17 | 1 | -0/+418 |