MyShaarli/tests/plugins/resources/markdown.html
ArthurHoaro c5941f316a Fix an issue with links not being reversed in code blocks
Fixes #672

+ Markdown to HTML unit test
2016-10-22 11:13:48 +02:00

24 lines
No EOL
915 B
HTML

<div class="markdown"><ul>
<li>test:
<ul>
<li><a href="http://link.tld">zero</a></li>
<li><a href="http://link.tld">two</a></li>
<li><a href="http://link.tld">three</a></li>
</ul></li>
</ul>
<ol>
<li><a href="http://link.tld">zero</a>
<ol>
<li><a href="http://link.tld">two</a></li>
<li><a href="http://link.tld">three</a></li>
<li><a href="http://link.tld">four</a></li>
<li>foo <a href="?addtag=foobar" title="Hashtag foobar">#foobar</a></li>
</ol></li>
</ol>
<p><a href="?addtag=foobar" title="Hashtag foobar">#foobar</a> foo <code>lol #foo</code> <a href="?addtag=bar" title="Hashtag bar">#bar</a></p>
<p>fsdfs <a href="http://link.tld">http://link.tld</a> <a href="?addtag=foobar" title="Hashtag foobar">#foobar</a> <code>http://link.tld</code></p>
<pre><code>http://link.tld #foobar
next #foo</code></pre>
<p>Block:</p>
<pre><code>lorem ipsum #foobar http://link.tld
#foobar http://link.tld</code></pre></div>