all repos — grayfriday @ e1994b7007e0459680714edf44da999f7bdae377

blackfriday fork with a few changes

testdata/Auto links.html (view raw)

 1<p>Link: <a href="http://example.com/">http://example.com/</a>.</p>
 2
 3<p>With an ampersand: <a href="http://example.com/?foo=1&amp;bar=2">http://example.com/?foo=1&amp;bar=2</a></p>
 4
 5<ul>
 6<li>In a list?</li>
 7<li><a href="http://example.com/">http://example.com/</a></li>
 8<li>It should.</li>
 9</ul>
10
11<blockquote>
12<p>Blockquoted: <a href="http://example.com/">http://example.com/</a></p>
13</blockquote>
14
15<p>Auto-links should not occur here: <code>&lt;http://example.com/&gt;</code></p>
16
17<pre><code>or here: &lt;http://example.com/&gt;
18</code></pre>