Open taufik-nurrohman opened 8 years ago
<div markdown="1">
Lorem ipsum dolor sit amet. Some test code here `<html>`
</div>
<div markdown="1">
Lorem ipsum dolor sit amet. Some test code here `<span>`
</div>
<div markdown="1">
Lorem ipsum dolor sit amet. Some test code here `->`
</div>
<div>
<p>Lorem ipsum dolor sit amet. Some test code here ``</p>
</div>
<div>
<p>Lorem ipsum dolor sit amet. Some test code here <code><span></code>
</span></p>
</div>
<div>
<p>Lorem ipsum dolor sit amet. Some test code here <code>-&gt;</code></p>
</div>
<div>
<p>Lorem ipsum dolor sit amet. Some test code here <code><html></code></p>
</div>
<div>
<p>Lorem ipsum dolor sit amet. Some test code here <code><span></code></p>
</div>
<div>
<p>Lorem ipsum dolor sit amet. Some test code here <code>-></code></p>
</div>
Example of broken footnote [^1]
[^1]: Lorem ipsum [link text][abc]
[abc]: http://example.com
<p>Example of broken footnote <sup id="fnref1:1"><a href="#fn:1" class="footnote-ref">1</a></sup></p>
<div class="footnotes">
<hr>
<ol>
<li id="fn:1">
<p>Lorem ipsum [link text][abc] <a href="#fnref1:1" rev="footnote" class="footnote-backref">↩</a></p>
</li>
</ol>
</div>
<p>Example of broken footnote <sup id="fnref1:1"><a href="#fn:1" class="footnote-ref">1</a></sup></p>
<div class="footnotes">
<hr>
<ol>
<li id="fn:1">
<p>Lorem ipsum <a href="http://example.com">link text</a> <a href="#fnref1:1" rev="footnote" class="footnote-backref">↩</a></p>
</li>
</ol>
</div>
Tested with Parsedown 1.6.0 and Parsedown Extra 0.7.0.
Test 1
Input
Output
Expected
or…
Test 2
Input
Output
Expected
Keep white-space in between.
Test 3
Input
Output
Expected
Test 4
Input
Output
Expected