]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - tests/plugins/resources/markdown.html
Fix hashtags with markdown escape enabled
[github/shaarli/Shaarli.git] / tests / plugins / resources / markdown.html
CommitLineData
c5941f31
A
1<div class="markdown"><ul>
2<li>test:
3<ul>
4<li><a href="http://link.tld">zero</a></li>
5<li><a href="http://link.tld">two</a></li>
6<li><a href="http://link.tld">three</a></li>
7</ul></li>
8</ul>
9<ol>
10<li><a href="http://link.tld">zero</a>
c5ee1318 11<ol start="2">
c5941f31
A
12<li><a href="http://link.tld">two</a></li>
13<li><a href="http://link.tld">three</a></li>
14<li><a href="http://link.tld">four</a></li>
cb7940e2 15<li>foo <a href="?addtag=foobar">#foobar</a></li>
c5941f31
A
16</ol></li>
17</ol>
cb7940e2
A
18<p><a href="?addtag=foobar">#foobar</a> foo <code>lol #foo</code> <a href="?addtag=bar">#bar</a></p>
19<p>fsdfs <a href="http://link.tld">http://link.tld</a> <a href="?addtag=foobar">#foobar</a> <code>http://link.tld</code></p>
c5941f31
A
20<pre><code>http://link.tld #foobar
21next #foo</code></pre>
22<p>Block:</p>
23<pre><code>lorem ipsum #foobar http://link.tld
86ceea05
A
24#foobar http://link.tld</code></pre>
25<p><a href="?123456">link</a><br />
26<img src="/img/train.png" alt="link" /><br />
27<a href="http://test.tld/path/?query=value#hash">link</a><br />
28<a href="http://test.tld/path/?query=value#hash">link</a><br />
29<a href="https://test.tld/path/?query=value#hash">link</a><br />
30<a href="ftp://test.tld/path/?query=value#hash">link</a><br />
31<a href="magnet:test.tld/path/?query=value#hash">link</a><br />
c5ee1318 32<a href="http://alert(&#039;xss&#039;)">link</a><br />
cb7940e2 33<a href="http://test.tld/path/?query=value#hash">link</a></p></div>