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

CommonMark escapes double-quotes

This commit is contained in:
Aidan Woods
2019-01-27 18:02:32 +00:00
parent d6c97ee111
commit 2e0ad27c5e
6 changed files with 16 additions and 6 deletions

View File

@@ -124,12 +124,12 @@ MARKDOWN_WITH_MARKUP;
<p>&lt;div&gt;<em>content</em>&lt;/div&gt;</p>
<p>sparse:</p>
<p>&lt;div&gt;
&lt;div class="inner"&gt;
&lt;div class=&quot;inner&quot;&gt;
<em>content</em>
&lt;/div&gt;
&lt;/div&gt;</p>
<p>paragraph</p>
<p>&lt;style type="text/css"&gt;
<p>&lt;style type=&quot;text/css&quot;&gt;
p {
color: red;
}

View File

@@ -6,9 +6,9 @@ echo $message;</code></pre>
<pre><code class="language-php">echo 'language identifier';</code></pre>
<pre><code class="language-c#">echo 'language identifier with non words';</code></pre>
<pre><code class="language-html+php">&lt;?php
echo "Hello World";
echo &quot;Hello World&quot;;
?&gt;
&lt;a href="http://auraphp.com" &gt;Aura Project&lt;/a&gt;</code></pre>
&lt;a href=&quot;http://auraphp.com&quot; &gt;Aura Project&lt;/a&gt;</code></pre>
<pre><code>the following isn't quite enough to close
```
still a fenced code block</code></pre>

View File

@@ -3,4 +3,4 @@
$message = 'Hello World!';
echo $message;
echo "following a blank line";</code></pre>
echo &quot;following a blank line&quot;;</code></pre>