1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

update test

This commit is contained in:
Emanuil Rusev 2014-12-02 23:53:19 +02:00
parent 7ab3c60a77
commit 094cb88dac

View File

@ -116,21 +116,21 @@ comment
MARKDOWN_WITH_MARKUP;
$expectedHtml = <<<EXPECTED_HTML
<p>&lt;div><em>content</em>&lt;/div></p>
<p>&lt;div&gt;<em>content</em>&lt;/div&gt;</p>
<p>sparse:</p>
<p>&lt;div>
&lt;div class="inner">
<p>&lt;div&gt;
&lt;div class="inner"&gt;
<em>content</em>
&lt;/div>
&lt;/div></p>
&lt;/div&gt;
&lt;/div&gt;</p>
<p>paragraph</p>
<p>&lt;style type="text/css"></p>
<p>&lt;style type="text/css"&gt;</p>
<pre><code>p {
color: red;
}</code></pre>
<p>&lt;/style></p>
<p>&lt;/style&gt;</p>
<p>comment</p>
<p>&lt;!-- html comment --></p>
<p>&lt;!-- html comment --&gt;</p>
EXPECTED_HTML;
$parsedownWithNoMarkup = new Parsedown();
$parsedownWithNoMarkup->setMarkupEscaped(true);