aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added 'wikilinks' (note the 's') extension to replace the 'wikilink' ↵Waylan Limberg2008-09-201-0/+139
| | | | extension. As there are some problems with 'CamelCase' links, the new extension uses '[[bracketed links]]'.
* [CodeHilite] Modified Sheband regex to match against language aliases ↵Waylan Limberg2008-09-181-4/+2
| | | | supported by Pygments which contain + or -. Thanks David A. Krauth.
* [CodeHilite] Fixed a little bug with the fallback when pygments is not ↵Waylan Limberg2008-09-171-1/+1
| | | | available. Thanks Artiom Diomin.
* [Headerid] Removed some legecay code from headerid extension and fixed doctests.Waylan Limberg2008-09-041-5/+4
|
* Fixed stupid mistake in previous commit.Waylan Limberg2008-09-041-1/+1
|
* Moved prettifyETree into a Postprocessor and added code to append all '<br ↵Waylan Limberg2008-09-043-31/+52
| | | | />' 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.
* [CodeHilite] Fixed Ticket 16. Added a 'css_class' option to codehilite ↵Waylan Limberg2008-09-032-11/+23
| | | | extension and cleaned up whitespace in code. Thanks Kjell Magne Fauske for the initial patch.
* Merge commit 'HEAD'; branch 'placeholder'Waylan Limberg2008-09-030-0/+0
|
* Refactor inline placeholders and use strings of random chars for placeholders.Waylan Limberg2008-09-031-19/+12
|
* Replaced indentation with linebreaks only. At least its more consistant - ↵Waylan Limberg2008-09-0356-481/+246
| | | | and it better matches other markdown implementations. Also updated tests.
* Fixed ticket 12. Insert code placeholder into a wrapping ET element rather ↵Waylan Limberg2008-08-262-11/+7
| | | | than parent_elem.text as text will alway be at beginning of doc. The wrapping element is a <p> tag as, later, when the rawhtml is inserted, markdown will first check for the placeholder inside a <p> tag, and if the placeholder is the *only* content of the <p> tag, replace the entire <p> tag - not just the placeholder. Perhaps a little hacky, but this is how markdown works internally anyway.
* Moving Tests to Tests_2007.Yuri Takhteyev2008-08-2646-0/+0
|
* Adding old MarkdownTest.pl tests.Yuri Takhteyev2008-08-26143-0/+11767
|
* Comments updates.splyer2008-08-241-28/+7
|
* more_comments test works fine now.Artem Yunusov2008-08-241-1/+2
|
* isBlockLevel function and HtmlBlockPreprocessor changed. more_comments test ↵Artem Yunusov2008-08-241-10/+11
| | | | works fine now.
* Fixed memory measure for MacOS.Artem Yunusov2008-08-241-2/+5
|
* Oops, forgot to add mismatched-tags test.Artem Yunusov2008-08-242-1/+18
|
* Fixed some bugs concerning HTML, test extended and works.Artem Yunusov2008-08-241-5/+23
|
* Added final results to test script.Artem Yunusov2008-08-241-1/+11
|
* Fixed Ticket 11. Disabled ``indenteTree`` for `pre` and `code` tags. NowWaylan Limberg2008-08-2218-619/+337
| | | | | | | | | 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 Limberg2008-08-221-2/+1
|
* 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-2217-95/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | More updated to wikilink tests to better match ElementTree output. *Note* ↵Waylan Limberg2008-08-221-2/+4
|/ | | | test still failing due to other issues.
* Fixed wikilink ext to use an AtomicString for label. There's still a problem ↵Waylan Limberg2008-08-221-3/+2
| | | | with the inline stuff though. As far as I can tell it is not related to the ext directly but in markdown itself.
* We should be running all the available extension tests. Enabled now - except ↵Waylan Limberg2008-08-221-1/+2
| | | | for footnotes as the random links to the footnotes are never the same so it will never pass.
* Improved wikilink tests. **Note** the test currently fails. We have bugs ↵Waylan Limberg2008-08-222-0/+7
| | | | that need fixing.
* Moved some hanging test files around.Waylan Limberg2008-08-222-2/+0
|
* Fixed up some more tests - renamed misspelled filenames and removed ↵Waylan Limberg2008-08-224-0/+0
| | | | executable status.
* Updated tests with raw block level html in them. **Note** these tests do not ↵Waylan Limberg2008-08-223-13/+17
| | | | pass now - but they should! We need to fix the bug which the tests were previosuly hiding!
* Removed executable status on some test files ??? not sure why it was there ↵Waylan Limberg2008-08-224-0/+0
| | | | to begin with??
* Fixed some weirdness with the CodeHilite ext and the fallback for when ↵Waylan Limberg2008-08-221-3/+2
| | | | pygments is not available. Not sure why, but the no-line-numbers option was commented out with a bug in it.
* 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-219-12/+65
|\ | | | | | | | | | | Conflicts: markdown.py
| * "sanatize_url" -> "sanitize_url"Yuri Takhteyev2008-08-211-5/+5
| |
| * Updated AUTHORS and CHANGE_LOGWaylan Limberg2008-08-212-1/+6
| |
| * Added LICENSE to MANIFEST and moved into docs.Waylan Limberg2008-08-212-0/+1
| |
| * Fixed typo in MANIFEST.Waylan Limberg2008-08-211-1/+1
| |
| * Adding unicode tests for Neale's fix. (Those only pass after changingYuri Takhteyev2008-08-202-0/+6
| | | | | | | | str to unicode.)
| * Changing string to unicode in Neale's fix. Adding test cases.Yuri Takhteyev2008-08-203-1/+6
| |
| * 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? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| * Merge branch 'master' of git@gitorious.org:python-markdown/mainlineYuri Takhteyev2008-08-202-2/+2
| |\
| * \ Merge branch 'master' of git@gitorious.org:python-markdown/mainlineYuri Takhteyev2008-08-1524-103/+622
| |\ \
| * | | Adding LICENSE.txtYuri Takhteyev2008-08-061-0/+30
| | | |
* | | | Got rid of inline sections.Artem Yunusov2008-08-212-27/+53
| |_|/ |/| |
* | | Merge git@gitorious.org:python-markdown/mainlineArtem Yunusov2008-08-181-9/+55
|\ \ \ | | |/ | |/|