diff options
Diffstat (limited to 'markdown/tests/php/PHP-Specific Bugs.text')
-rw-r--r-- | markdown/tests/php/PHP-Specific Bugs.text | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/markdown/tests/php/PHP-Specific Bugs.text b/markdown/tests/php/PHP-Specific Bugs.text new file mode 100644 index 0000000..246b60d --- /dev/null +++ b/markdown/tests/php/PHP-Specific Bugs.text @@ -0,0 +1,22 @@ +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" |