aboutsummaryrefslogtreecommitdiffstats
path: root/tests/safe_mode
Commit message (Collapse)AuthorAgeFilesLines
* Forbid javascript:// URLs in safe modePhilipp Hagemeister2013-02-052-0/+5
|
* Fixed #153. Two spaces at end of paragraph is not a linebreak.Waylan Limberg2012-10-211-6/+3
|
* Inline html is now escaped by the searializer.Waylan Limberg2012-01-196-7/+7
| | | | | | | | Final fix to issue introduced in fix for #59. Weird stuff inside angle brackets now also work in safe_mode='escape'. We just did the same thing as with block html, let the (x)html searializer do the escaping. Tests updated including the standalone test moved to match the non-escape cases.
* Partial fix for issue introduced in fix for #59Waylan Limberg2012-01-194-0/+4
| | | | | Markdown markup inside angle bracktes now gets rendered properly in all cases except when safe_mode='escape'. Also added tests.
* Cleaned up tests after merging pull request fixing #72.Waylan Limberg2012-01-184-0/+14
|
* When safe mode is 'escape', don't allow bad html to stop further processing.Mike Dirolf2012-01-142-21/+16
| | | | | | | | | | See tests/html4_safe/html_then_blockquote.(txt|html). It looks like having unclosed block-level html elements was causing further processing not to happen, even in the case where we're escaping HTML. Since we're escaping HTML, it seems like it shouldn't affect processing at all. This changes output results in a couple of other tests, but the new output seems reasonable to me.
* Moved test dir back out of markdown lib. We don't need to install the tests ↵Waylan Limberg2010-02-1215-0/+482
| | | | in everyones site-packages. We just need to distrubute them in the tarball for people to run before installing etc.
* Moves tests to a subdir of the markdown lib.Waylan Limberg2009-06-0511-270/+0
|
* Initial implementation of nose testing. Still some cleanup to do, but this ↵Waylan Limberg2009-06-051-0/+2
| | | | 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.
* Replaced indentation with linebreaks only. At least its more consistant - ↵Waylan Limberg2008-09-032-15/+8
| | | | and it better matches other markdown implementations. Also updated tests.
* Fixed Ticket 11. Disabled ``indenteTree`` for `pre` and `code` tags. NowWaylan Limberg2008-08-221-16/+8
| | | | | | | | | 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.
* Aggregated regexp for both backtick and double backtick.Artem Yunusov2008-07-162-3/+3
|
* A lot of bug fixes. Handlig attributes added, new hr processing. Reformatted ↵Artem Yunusov2008-07-145-116/+93
| | | | test suite for ElementTree output.
* Code blocks escaping bug fixed. Some test suite modifications.Artem Yunusov2008-07-031-2/+3
|
* Added safe_mode to testing framework and soem tests.Waylan Limberg2008-03-198-0/+254
|
* Added sanatition of link urls when in safe_mode to no longer allow ↵Waylan Limberg2008-03-182-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.