Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Completing the test case for the toc extension. | Yuri Takhteyev | 2008-10-18 | 2 | -0/+701 | |
| | ||||||
* | Adding Jack Miller's TOC extension and a test file for it. | Yuri Takhteyev | 2008-10-17 | 1 | -0/+849 | |
| | | | | (I can't get it to work, though.) | |||||
* | Removed old 'wikilink' extension. | Waylan Limberg | 2008-09-20 | 2 | -15/+0 | |
| | ||||||
* | Added tests for new '[[wikilinks]]' extension. | Waylan Limberg | 2008-09-20 | 2 | -0/+16 | |
| | ||||||
* | Moved prettifyETree into a Postprocessor and added code to append all '<br ↵ | Waylan Limberg | 2008-09-04 | 2 | -6/+12 | |
| | | | | />' 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. | |||||
* | Replaced indentation with linebreaks only. At least its more consistant - ↵ | Waylan Limberg | 2008-09-03 | 55 | -464/+231 | |
| | | | | and it better matches other markdown implementations. Also updated tests. | |||||
* | Fixed ticket 12. Insert code placeholder into a wrapping ET element rather ↵ | Waylan Limberg | 2008-08-26 | 1 | -7/+4 | |
| | | | | 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. | |||||
* | Oops, forgot to add mismatched-tags test. | Artem Yunusov | 2008-08-24 | 2 | -1/+18 | |
| | ||||||
* | Fixed Ticket 11. Disabled ``indenteTree`` for `pre` and `code` tags. Now | Waylan Limberg | 2008-08-22 | 17 | -618/+336 | |
| | | | | | | | | | 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. | |||||
* | Fixed Ticket 13. Raw block-level html are no longer being inserted into <p> ↵ | Waylan Limberg | 2008-08-22 | 16 | -94/+140 | |
| | | | | | | | | | | | | | 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 Limberg | 2008-08-22 | 1 | -2/+4 | |
| | | | | test still failing due to other issues. | |||||
* | Improved wikilink tests. **Note** the test currently fails. We have bugs ↵ | Waylan Limberg | 2008-08-22 | 2 | -0/+7 | |
| | | | | that need fixing. | |||||
* | Moved some hanging test files around. | Waylan Limberg | 2008-08-22 | 2 | -2/+0 | |
| | ||||||
* | Fixed up some more tests - renamed misspelled filenames and removed ↵ | Waylan Limberg | 2008-08-22 | 4 | -0/+0 | |
| | | | | executable status. | |||||
* | Updated tests with raw block level html in them. **Note** these tests do not ↵ | Waylan Limberg | 2008-08-22 | 3 | -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 Limberg | 2008-08-22 | 4 | -0/+0 | |
| | | | | to begin with?? | |||||
* | Adding unicode tests for Neale's fix. (Those only pass after changing | Yuri Takhteyev | 2008-08-20 | 2 | -0/+6 | |
| | | | | str to unicode.) | |||||
* | Changing string to unicode in Neale's fix. Adding test cases. | Yuri Takhteyev | 2008-08-20 | 2 | -0/+5 | |
| | ||||||
* | Forgot to add headers.txt to commit. | Artem Yunusov | 2008-08-13 | 1 | -0/+4 | |
| | ||||||
* | Header test extended. | Artem Yunusov | 2008-08-13 | 1 | -2/+5 | |
| | ||||||
* | Bugfix for inline patterns. Tables extension ported to ElementTree. | Artem Yunusov | 2008-08-04 | 2 | -19/+34 | |
| | ||||||
* | Merge git://gitorious.org/python-markdown/mainline | Artem Yunusov | 2008-08-02 | 4 | -0/+76 | |
|\ | | | | | | | | | | | | | Conflicts: markdown.py mdx_rss.py | |||||
| * | Adding extensions tests. | Yuri Takhteyev | 2008-07-29 | 4 | -0/+76 | |
| | | ||||||
* | | A lot of bug fixes, added ElementTree support for extensions, some new tests. | Artem Yunusov | 2008-07-31 | 7 | -40/+66 | |
| | | ||||||
* | | Missing link defenition bug fixed. | Artem Yunusov | 2008-07-22 | 2 | -0/+7 | |
| | | ||||||
* | | Ops, forgot to add new test files | Artem Yunusov | 2008-07-19 | 6 | -0/+55 | |
| | | ||||||
* | | Aggregated regexp for both backtick and double backtick. | Artem Yunusov | 2008-07-16 | 2 | -3/+3 | |
| | | ||||||
* | | Output bug fixed(stripping text data at the end of processing in ↵ | Artem Yunusov | 2008-07-15 | 14 | -263/+275 | |
| | | | | | | | | _processPlaceholders). Ticket #5 fixed. | |||||
* | | A lot of bug fixes. Handlig attributes added, new hr processing. Reformatted ↵ | Artem Yunusov | 2008-07-14 | 79 | -2233/+1771 | |
| | | | | | | | | test suite for ElementTree output. | |||||
* | | Code blocks escaping bug fixed. Some test suite modifications. | Artem Yunusov | 2008-07-03 | 7 | -52/+31 | |
| | | ||||||
* | | New mechanism for processing Inline Patterns. | Artem Yunusov | 2008-07-02 | 1 | -18/+18 | |
|/ | ||||||
* | Allow hashes (#) in body of headers -- with tests. Thank you John ↵ | Waylan Limberg | 2008-05-14 | 2 | -1/+5 | |
| | | | | Szakmeister for the bug report and patch. | |||||
* | Added safe_mode to testing framework and soem tests. | Waylan Limberg | 2008-03-19 | 10 | -60/+324 | |
| | ||||||
* | Added sanatition of link urls when in safe_mode to no longer allow ↵ | Waylan Limberg | 2008-03-18 | 2 | -0/+51 | |
| | | | | javascript. Not yet convinced I got all cases, but it's much better than before. Also added some tests although testing framework doesn't currently have the option to run in safe_mode. See [1914685] for more info. | |||||
* | Moved line-endings cleanup from transform to convert method so it runs prior ↵ | Waylan Limberg | 2008-03-06 | 2 | -0/+10 | |
| | | | | to textPreprocessors. Raw HTML with CRLF line endings now works properly. Also added a test. Fixes [1908691]. | |||||
* | fixed testing framework to actually use the extensions passed in and a few ↵ | Waylan Limberg | 2008-03-03 | 5 | -40/+40 | |
| | | | | other minor cleanup things. | |||||
* | Some tests I forgot to checking with recent commits. | Waylan Limberg | 2008-03-03 | 4 | -4/+53 | |
| | ||||||
* | Fixed bugs involving greedy/non-greedy regexes | David Wolever | 2008-02-29 | 4 | -73/+3 | |
| | ||||||
* | Added svn:ignore properties to test directories, checked in failing test case. | David Wolever | 2008-02-18 | 2 | -0/+3 | |
| | ||||||
* | No longer replacing " with @quot;. Fixes [1862742] | Waylan Limberg | 2008-02-09 | 10 | -151/+141 | |
| | ||||||
* | Adjustments to match unicode policy as discussed on list and other minor | Waylan Limberg | 2007-12-13 | 4 | -82/+70 | |
| | | | | | cleanup in preparation for release 1.7. | |||||
* | Added support for images inside links and updated tests. Fixes [1458136]. | Waylan Limberg | 2007-11-29 | 4 | -63/+57 | |
| | | | | | | | | Note, to accomplish this, a negative lookbehind (for a !) was added to each link regex so they could be run before the image regex. The (fairly new) recursion on the link text then parses the image. Not sure how the negative lookbehind will affect performance. | |||||
* | Footnotes that end in anyting but a <p> (list, blockquote, codeblock) now have | Waylan Limberg | 2007-11-29 | 4 | -63/+124 | |
| | | | | | | | | | | | | | | | | the backlink in a <p> which is appended to the end of the footnote. Fixes [1831600] Also fixed multiparagraph footnotes so that the first paragraph is actually wrapped in a <p> element. This results in one-liners also wrapped in <p> elements, but this is inline with PHP Markdown Extra's behavior. That means the test for `node.type == "text"` should never get a match, but I'm leaving it in for now. Also added some tests, although they are not properly included in a test directory for use with the testing framework. Seeing the framework currently ignores extensions, we'll worry about that later. | |||||
* | Allow repeated calls to md.convert to pass in an empty string. Also fixed ↵ | Waylan Limberg | 2007-11-03 | 2 | -0/+0 | |
| | | | | testing framework to allow tests for this and added tests. Fixes [1825231] | |||||
* | added tests for codeblock on first line | Waylan Limberg | 2007-11-03 | 2 | -0/+3 | |
| | ||||||
* | Fixed infinite loop in bracket regex and added tests | Waylan Limberg | 2007-10-30 | 2 | -0/+122 | |
| | ||||||
* | Horizontal rules in block quotes with tests. Fixes [1709864]. | Waylan Limberg | 2007-10-11 | 2 | -0/+44 | |
| | ||||||
* | Previous commit (r42) was supposed to update the misc/two-spaces test so ↵ | Waylan Limberg | 2007-10-11 | 2 | -0/+36 | |
| | | | | here it is. | |||||
* | Replace LineBreaks preprocessor with an inlinePattern and update tests. ↵ | Waylan Limberg | 2007-10-11 | 5 | -33/+17 | |
| | | | | Blank lines (" \n") and headers no longer get linebreaks and the two spaces are no longer preserved. | |||||
* | Updated tests/misc/more_comments.html to match 1.6 - fixes [1794694] | Waylan Limberg | 2007-10-09 | 1 | -0/+10 | |
| |