Cocoanetics / DTMarkdownParser

An event-based parser for markdown text
BSD 2-Clause "Simplified" License
197 stars 15 forks source link

Multiple quotes in code blocks are not treated as expected #10

Closed JanX2 closed 10 years ago

JanX2 commented 10 years ago

Here is an example:

""" multiple quotes """

results in

<pre><code>""" multiple quote</code></pre>
odrobnik commented 10 years ago

Please elaborate.

I get this result:

<pre><code>&quot;&quot;&quot; multiple quotes &quot;&quot;&quot;</code></pre>
odrobnik commented 10 years ago

@JanX2 please adjust the added unit test to fit what you mean, or close the issue.

odrobnik commented 10 years ago

I added unit tests for both double quotes as well as back ticks inside a PRE block, please comment.