From 28caf01c8082dbed3a5ca87b070ffe5657514f01 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Fri, 12 Feb 2010 16:24:15 -0500 Subject: Moved test dir back out of markdown lib. We don't need to install the tests in everyones site-packages. We just need to distrubute them in the tarball for people to run before installing etc. --- tests/php/PHP-Specific Bugs.xhtml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/php/PHP-Specific Bugs.xhtml (limited to 'tests/php/PHP-Specific Bugs.xhtml') diff --git a/tests/php/PHP-Specific Bugs.xhtml b/tests/php/PHP-Specific Bugs.xhtml new file mode 100644 index 0000000..c982417 --- /dev/null +++ b/tests/php/PHP-Specific Bugs.xhtml @@ -0,0 +1,17 @@ +

This tests for a bug where quotes escaped by PHP when using +preg_replace with the /e modifier must be correctly unescaped +(hence the _UnslashQuotes function found only in PHP Markdown).

+ +

Headers below should appear exactly as they are typed (no backslash +added or removed).

+ +

Header "quoted\" again \""

+ +

Header "quoted\" again \""

+ +

Header "quoted\" again \""

+ +

Test with tabs for _Detab:

+ +
Code    'block' with    some    "tabs"  and "quotes"
+
-- cgit v1.2.3