blob: 35266a9de1635c666231bb6ea25dd23a66c15518 [file] [log] [blame]
>>> Links - 493
[link](/uri "title")
<<<
<p><a href="/uri" title="title">link</a></p>
>>> Links - 494
[link](/uri)
<<<
<p><a href="/uri">link</a></p>
>>> Links - 495
[link]()
<<<
<p><a href="">link</a></p>
>>> Links - 496
[link](<>)
<<<
<p><a href="">link</a></p>
>>> Links - 497
[link](/my uri)
<<<
<p>[link](/my uri)</p>
>>> Links - 498
[link](</my uri>)
<<<
<p><a href="/my%20uri">link</a></p>
>>> Links - 499
[link](foo
bar)
<<<
<p>[link](foo
bar)</p>
>>> Links - 500
[link](<foo
bar>)
<<<
<p>[link](<foo
bar>)</p>
>>> Links - 501
[a](<b)c>)
<<<
<p><a href="b)c">a</a></p>
>>> Links - 502
[link](<foo\>)
<<<
<p>[link](&lt;foo&gt;)</p>
>>> Links - 503
[a](<b)c
[a](<b)c>
[a](<b>c)
<<<
<p>[a](&lt;b)c
[a](&lt;b)c&gt;
[a](<b>c)</p>
>>> Links - 504
[link](\(foo\))
<<<
<p><a href="(foo)">link</a></p>
>>> Links - 505
[link](foo(and(bar)))
<<<
<p><a href="foo(and(bar))">link</a></p>
>>> Links - 506
[link](foo\(and\(bar\))
<<<
<p><a href="foo(and(bar)">link</a></p>
>>> Links - 507
[link](<foo(and(bar)>)
<<<
<p><a href="foo(and(bar)">link</a></p>
>>> Links - 508
[link](foo\)\:)
<<<
<p><a href="foo):">link</a></p>
>>> Links - 509
[link](#fragment)
[link](http://example.com#fragment)
[link](http://example.com?foo=3#frag)
<<<
<p><a href="#fragment">link</a></p>
<p><a href="http://example.com#fragment">link</a></p>
<p><a href="http://example.com?foo=3#frag">link</a></p>
>>> Links - 510
[link](foo\bar)
<<<
<p><a href="foo%5Cbar">link</a></p>
>>> Links - 511
[link](foo%20b&auml;)
<<<
<p><a href="foo%20b&auml;">link</a></p>
>>> Links - 512
[link]("title")
<<<
<p><a href="%22title%22">link</a></p>
>>> Links - 513
[link](/url "title")
[link](/url 'title')
[link](/url (title))
<<<
<p><a href="/url" title="title">link</a>
<a href="/url" title="title">link</a>
<a href="/url" title="title">link</a></p>
>>> Links - 514
[link](/url "title \"&quot;")
<<<
<p><a href="/url" title="title %22&quot;">link</a></p>
>>> Links - 515
[link](/urlĀ "title")
<<<
<p><a href="/urlĀ %22title%22">link</a></p>
>>> Links - 516
[link](/url "title "and" title")
<<<
<p>[link](/url "title "and" title")</p>
>>> Links - 517
[link](/url 'title "and" title')
<<<
<p><a href="/url" title="title %22and%22 title">link</a></p>
>>> Links - 518
[link]( /uri
"title" )
<<<
<p><a href="/uri" title="title">link</a></p>
>>> Links - 519
[link] (/uri)
<<<
<p>[link] (/uri)</p>
>>> Links - 520
[link [foo [bar]]](/uri)
<<<
<p><a href="/uri">link [foo [bar]]</a></p>
>>> Links - 521
[link] bar](/uri)
<<<
<p>[link] bar](/uri)</p>
>>> Links - 522
[link [bar](/uri)
<<<
<p>[link <a href="/uri">bar</a></p>
>>> Links - 523
[link \[bar](/uri)
<<<
<p><a href="/uri">link [bar</a></p>
>>> Links - 524
[link *foo **bar** `#`*](/uri)
<<<
<p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
>>> Links - 525
[![moon](moon.jpg)](/uri)
<<<
<p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>
>>> Links - 526
[foo [bar](/uri)](/uri)
<<<
<p>[foo <a href="/uri">bar</a>](/uri)</p>
>>> Links - 527
[foo *[bar [baz](/uri)](/uri)*](/uri)
<<<
<p>[foo <em>[bar <a href="/uri">baz</a>](/uri)</em>](/uri)</p>
>>> Links - 528
![[[foo](uri1)](uri2)](uri3)
<<<
<p><img src="uri3" alt="[foo](uri2)" /></p>
>>> Links - 529
*[foo*](/uri)
<<<
<p>*<a href="/uri">foo*</a></p>
>>> Links - 530
[foo *bar](baz*)
<<<
<p><a href="baz*">foo *bar</a></p>
>>> Links - 531
*foo [bar* baz]
<<<
<p><em>foo [bar</em> baz]</p>
>>> Links - 532
[foo <bar attr="](baz)">
<<<
<p>[foo <bar attr="](baz)"></p>
>>> Links - 533
[foo`](/uri)`
<<<
<p>[foo<code>](/uri)</code></p>
>>> Links - 534
[foo<http://example.com/?search=](uri)>
<<<
<p>[foo<a href="http://example.com/?search=%5D(uri)">http://example.com/?search=](uri)</a></p>
>>> Links - 535
[foo][bar]
[bar]: /url "title"
<<<
<p><a href="/url" title="title">foo</a></p>
>>> Links - 536
[link [foo [bar]]][ref]
[ref]: /uri
<<<
<p><a href="/uri">link [foo [bar]]</a></p>
>>> Links - 537
[link \[bar][ref]
[ref]: /uri
<<<
<p><a href="/uri">link [bar</a></p>
>>> Links - 538
[link *foo **bar** `#`*][ref]
[ref]: /uri
<<<
<p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
>>> Links - 539
[![moon](moon.jpg)][ref]
[ref]: /uri
<<<
<p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>
>>> Links - 540
[foo [bar](/uri)][ref]
[ref]: /uri
<<<
<p>[foo <a href="/uri">bar</a>]<a href="/uri">ref</a></p>
>>> Links - 541
[foo *bar [baz][ref]*][ref]
[ref]: /uri
<<<
<p>[foo <em>bar <a href="/uri">baz</a></em>]<a href="/uri">ref</a></p>
>>> Links - 542
*[foo*][ref]
[ref]: /uri
<<<
<p>*<a href="/uri">foo*</a></p>
>>> Links - 543
[foo *bar][ref]
[ref]: /uri
<<<
<p><a href="/uri">foo *bar</a></p>
>>> Links - 544
[foo <bar attr="][ref]">
[ref]: /uri
<<<
<p>[foo <bar attr="][ref]"></p>
>>> Links - 545
[foo`][ref]`
[ref]: /uri
<<<
<p>[foo<code>][ref]</code></p>
>>> Links - 546
[foo<http://example.com/?search=][ref]>
[ref]: /uri
<<<
<p>[foo<a href="http://example.com/?search=%5D%5Bref%5D">http://example.com/?search=][ref]</a></p>
>>> Links - 547
[foo][BaR]
[bar]: /url "title"
<<<
<p><a href="/url" title="title">foo</a></p>
>>> Links - 548
[Š¢Š¾Š»ŠæŠ¾Š¹][Š¢Š¾Š»ŠæŠ¾Š¹] is a Russian word.
[Š¢ŠžŠ›ŠŸŠžŠ™]: /url
<<<
<p><a href="/url">Š¢Š¾Š»ŠæŠ¾Š¹</a> is a Russian word.</p>
>>> Links - 549
[Foo
bar]: /url
[Baz][Foo bar]
<<<
<p><a href="/url">Baz</a></p>
>>> Links - 550
[foo] [bar]
[bar]: /url "title"
<<<
<p>[foo] <a href="/url" title="title">bar</a></p>
>>> Links - 551
[foo]
[bar]
[bar]: /url "title"
<<<
<p>[foo]
<a href="/url" title="title">bar</a></p>
>>> Links - 552
[foo]: /url1
[foo]: /url2
[bar][foo]
<<<
<p><a href="/url1">bar</a></p>
>>> Links - 553
[bar][foo\!]
[foo!]: /url
<<<
<p>[bar][foo!]</p>
>>> Links - 554
[foo][ref[]
[ref[]: /uri
<<<
<p><a href="/uri">foo</a></p>
>>> Links - 555
[foo][ref[bar]]
[ref[bar]]: /uri
<<<
<p>[foo][ref[bar]]</p>
<p>[ref[bar]]: /uri</p>
>>> Links - 556
[[[foo]]]
[[[foo]]]: /url
<<<
<p>[[[foo]]]</p>
<p>[[[foo]]]: /url</p>
>>> Links - 557
[foo][ref\[]
[ref\[]: /uri
<<<
<p><a href="/uri">foo</a></p>
>>> Links - 558
[bar\\]: /uri
[bar\\]
<<<
<p><a href="/uri">bar\</a></p>
>>> Links - 559
[]
[]: /uri
<<<
<p>[]</p>
<p>[]: /uri</p>
>>> Links - 560
[
]
[
]: /uri
<<<
<p>[
]</p>
<p>[
]: /uri</p>
>>> Links - 561
[foo][]
[foo]: /url "title"
<<<
<p><a href="/url" title="title">foo</a></p>
>>> Links - 562
[*foo* bar][]
[*foo* bar]: /url "title"
<<<
<p><a href="/url" title="title"><em>foo</em> bar</a></p>
>>> Links - 563
[Foo][]
[foo]: /url "title"
<<<
<p><a href="/url" title="title">Foo</a></p>
>>> Links - 564
[foo]
[]
[foo]: /url "title"
<<<
<p><a href="/url" title="title">foo</a>
[]</p>
>>> Links - 565
[foo]
[foo]: /url "title"
<<<
<p><a href="/url" title="title">foo</a></p>
>>> Links - 566
[*foo* bar]
[*foo* bar]: /url "title"
<<<
<p><a href="/url" title="title"><em>foo</em> bar</a></p>
>>> Links - 567
[[*foo* bar]]
[*foo* bar]: /url "title"
<<<
<p>[<a href="/url" title="title"><em>foo</em> bar</a>]</p>
>>> Links - 568
[[bar [foo]
[foo]: /url
<<<
<p>[[bar <a href="/url">foo</a></p>
>>> Links - 569
[Foo]
[foo]: /url "title"
<<<
<p><a href="/url" title="title">Foo</a></p>
>>> Links - 570
[foo] bar
[foo]: /url
<<<
<p><a href="/url">foo</a> bar</p>
>>> Links - 571
\[foo]
[foo]: /url "title"
<<<
<p>[foo]</p>
>>> Links - 572
[foo*]: /url
*[foo*]
<<<
<p>*<a href="/url">foo*</a></p>
>>> Links - 573
[foo][bar]
[foo]: /url1
[bar]: /url2
<<<
<p><a href="/url2">foo</a></p>
>>> Links - 574
[foo][]
[foo]: /url1
<<<
<p><a href="/url1">foo</a></p>
>>> Links - 575
[foo]()
[foo]: /url1
<<<
<p><a href="">foo</a></p>
>>> Links - 576
[foo](not a link)
[foo]: /url1
<<<
<p><a href="/url1">foo</a>(not a link)</p>
>>> Links - 577
[foo][bar][baz]
[baz]: /url
<<<
<p>[foo]<a href="/url">bar</a></p>
>>> Links - 578
[foo][bar][baz]
[baz]: /url1
[bar]: /url2
<<<
<p><a href="/url2">foo</a><a href="/url1">baz</a></p>
>>> Links - 579
[foo][bar][baz]
[baz]: /url1
[foo]: /url2
<<<
<p>[foo]<a href="/url1">bar</a></p>