streams/vendor/michelf/php-markdown/test/resources/php-markdown.mdtest/PHP-Specific Bugs.text

23 lines
511 B
Text
Raw Normal View History

2019-12-04 05:46:07 +00:00
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"