aboutsummaryrefslogtreecommitdiffstats
path: root/tests/markdown-test
Commit message (Collapse)AuthorAgeFilesLines
* Initial implementation of nose testing. Still some cleanup to do, but this ↵Waylan Limberg2009-06-052-7/+7
| | | | shows the differances between the old and the new. Also left one test failing (unsignificant white space only) to demonstrate what a failing test looks like.
* Fixed BlockParser to parse code blocks nested in list items and added a ↵Waylan Limberg2008-11-182-0/+24
| | | | test. Somehow we never had a test for that before. Also reset markdown.py to be executable again.
* Replaced indentation with linebreaks only. At least its more consistant - ↵Waylan Limberg2008-09-0311-167/+85
| | | | and it better matches other markdown implementations. Also updated tests.
* Fixed Ticket 11. Disabled ``indenteTree`` for `pre` and `code` tags. NowWaylan Limberg2008-08-229-519/+267
| | | | | | | | | 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 Limberg2008-08-225-55/+91
| | | | | | | | | | | | | 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.
* Fixed up some more tests - renamed misspelled filenames and removed ↵Waylan Limberg2008-08-224-0/+0
| | | | executable status.
* A lot of bug fixes, added ElementTree support for extensions, some new tests.Artem Yunusov2008-07-312-0/+11
|
* Output bug fixed(stripping text data at the end of processing in ↵Artem Yunusov2008-07-154-221/+227
| | | | _processPlaceholders). Ticket #5 fixed.
* A lot of bug fixes. Handlig attributes added, new hr processing. Reformatted ↵Artem Yunusov2008-07-1419-1297/+1176
| | | | test suite for ElementTree output.
* Code blocks escaping bug fixed. Some test suite modifications.Artem Yunusov2008-07-032-42/+22
|
* New mechanism for processing Inline Patterns.Artem Yunusov2008-07-021-18/+18
|
* Added safe_mode to testing framework and soem tests.Waylan Limberg2008-03-191-19/+19
|
* Some tests I forgot to checking with recent commits.Waylan Limberg2008-03-032-4/+10
|
* Fixed bugs involving greedy/non-greedy regexesDavid Wolever2008-02-291-20/+0
|
* No longer replacing " with @quot;. Fixes [1862742]Waylan Limberg2008-02-094-80/+77
|
* Adjustments to match unicode policy as discussed on list and other minor Waylan Limberg2007-12-131-19/+19
| | | | | cleanup in preparation for release 1.7.
* Added support for images inside links and updated tests. Fixes [1458136].Waylan Limberg2007-11-291-15/+15
| | | | | | | | 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 haveWaylan Limberg2007-11-291-19/+19
| | | | | | | | | | | | | | | | 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.
* Replace LineBreaks preprocessor with an inlinePattern and update tests. ↵Waylan Limberg2007-10-111-7/+2
| | | | Blank lines (" \n") and headers no longer get linebreaks and the two spaces are no longer preserved.
* Added test casesYuri Takhteyev2007-03-2540-0/+3603