• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<p>This tests for a bug where quotes escaped by PHP when using
2<code>preg_replace</code> with the <code>/e</code> modifier must be correctly unescaped
3(hence the <code>_UnslashQuotes</code> function found only in PHP Markdown).</p>
4
5<p>Headers below should appear exactly as they are typed (no backslash
6added or removed).</p>
7
8<h1>Header "quoted\" again \""</h1>
9
10<h2>Header "quoted\" again \""</h2>
11
12<h3>Header "quoted\" again \""</h3>
13
14<p>Test with tabs for <code>_Detab</code>:</p>
15
16<pre><code>Code    'block' with    some    "tabs"  and "quotes"
17</code></pre>
18