all repos — grayfriday @ e1994b7007e0459680714edf44da999f7bdae377

blackfriday fork with a few changes

testdata/Links, reference style.html (view raw)

 1<p>Foo <a href="/url/" title="Title">bar</a>.</p>
 2
 3<p>Foo <a href="/url/" title="Title">bar</a>.</p>
 4
 5<p>Foo <a href="/url/" title="Title">bar</a>.</p>
 6
 7<p>With <a href="/url/">embedded [brackets]</a>.</p>
 8
 9<p>Indented <a href="/url">once</a>.</p>
10
11<p>Indented <a href="/url">twice</a>.</p>
12
13<p>Indented <a href="/url">thrice</a>.</p>
14
15<p>Indented [four][] times.</p>
16
17<pre><code>[four]: /url
18</code></pre>
19
20<hr>
21
22<p><a href="foo">this</a> should work</p>
23
24<p>So should <a href="foo">this</a>.</p>
25
26<p>And <a href="foo">this</a>.</p>
27
28<p>And <a href="foo">this</a>.</p>
29
30<p>And <a href="foo">this</a>.</p>
31
32<p>But not [that] [].</p>
33
34<p>Nor [that][].</p>
35
36<p>Nor [that].</p>
37
38<p>[Something in brackets like <a href="foo">this</a> should work]</p>
39
40<p>[Same with <a href="foo">this</a>.]</p>
41
42<p>In this case, <a href="/somethingelse/">this</a> points to something else.</p>
43
44<p>Backslashing should suppress [this] and [this].</p>
45
46<hr>
47
48<p>Here's one where the <a href="/url/">link
49breaks</a> across lines.</p>
50
51<p>Here's another where the <a href="/url/">link
52breaks</a> across lines, but with a line-ending space.</p>