This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<p>This is [] empty.</p>
|
||||
|
||||
<p>This is [][] empty.</p>
|
||||
|
||||
<p>This is <a href="test.html"></a> empty.</p>
|
||||
@@ -0,0 +1,5 @@
|
||||
This is [] empty.
|
||||
|
||||
This is [][] empty.
|
||||
|
||||
This is [](test.html) empty.
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>Image with empty title: <img src="/images/other.png" alt="alt text" title="" /></p>
|
||||
|
||||
<p>Link <a href="http://example.tld" title="">reference</a> with empty title.</p>
|
||||
@@ -0,0 +1,7 @@
|
||||
Image with empty title: 
|
||||
|
||||
Link [reference][1] with empty title.
|
||||
|
||||
|
||||
|
||||
[1]: http://example.tld
|
||||
@@ -0,0 +1,5 @@
|
||||
<p>Simple: <a href="local.html">Some <img src="/images/other.png" alt="alt text" /></a></p>
|
||||
|
||||
<p>Nested: <a href="local.html">Some <img src="/images/other.png" alt="alt  text" /></a></p>
|
||||
|
||||
<p>Simple: <a href="local.html">Some <em>text <img src="/images/other.png" alt="alt text" /> text</em></a></p>
|
||||
@@ -0,0 +1,5 @@
|
||||
Simple: [Some ](local.html)
|
||||
|
||||
Nested: [Some  text](/images/other.png)](local.html)
|
||||
|
||||
Simple: [Some *text  text*](local.html)
|
||||
@@ -0,0 +1,15 @@
|
||||
<p>Simple: <img src="/images/other.png" alt="alt text" /></p>
|
||||
|
||||
<p>Simple with title: <img src="/images/other.png" alt="alt text" title="title" /></p>
|
||||
|
||||
<p>Empty img link: <img src="" alt="alt text" /></p>
|
||||
|
||||
<p>Reference style: <img src="other.png" alt="alt text" /></p>
|
||||
|
||||
<p>Reference style with title: <img src="other.png" alt="alt text" title="Title" /></p>
|
||||
|
||||
<p>No alt text: <img src="other.png" alt="" /></p>
|
||||
|
||||
<p>No id: <img src="other.png" alt="imgo" title="Title" /></p>
|
||||
|
||||
<p>With escaped pipe: <img src="other.png" alt="an | pipe" /></p>
|
||||
@@ -0,0 +1,18 @@
|
||||
Simple: 
|
||||
|
||||
Simple with title: 
|
||||
|
||||
Empty img link: ![alt text]()
|
||||
|
||||
Reference style: ![alt text][img]
|
||||
|
||||
Reference style with title: ![alt text][imgo]
|
||||
|
||||
No alt text: 
|
||||
|
||||
No id: ![imgo]
|
||||
|
||||
[img]: other.png
|
||||
[imgo]: other.png "Title"
|
||||
|
||||
With escaped pipe: 
|
||||
@@ -0,0 +1,46 @@
|
||||
<p>simple <a href="">URL</a></p>
|
||||
|
||||
<p>simple <a href="something.html">URL</a></p>
|
||||
|
||||
<p>simple <a href="something.html">URL <em>with</em> formatting</a></p>
|
||||
|
||||
<p>simple <a href="something.html" title="a t"itle">URL with single quoted title</a></p>
|
||||
|
||||
<p>simple <a href="something.html" title="a t'itle">URL with double quoted title</a></p>
|
||||
|
||||
<p>simple <a href="something.html">URL [with ] escaped</a></p>
|
||||
|
||||
<p>simple <a href="something.html">URL with ] escaped</a></p>
|
||||
|
||||
<p>simple <a href="something.html">URL [with] nested</a></p>
|
||||
|
||||
<p>simple <a href="something.html">URL with [no](link.html) inside</a></p>
|
||||
|
||||
<p>simple <a href="/something/to(do)">URL with parens</a></p>
|
||||
|
||||
<p>simple <a href="/something/to(do" title="doit">URL with parens</a></p>
|
||||
|
||||
<p>simple <a href="something.html" title="title">URL broken
|
||||
on line</a></p>
|
||||
|
||||
<p>simple <a href="with spaces.html">URL with spaces</a></p>
|
||||
|
||||
<p>simple <a href="with spaces.html" title="title">URL with spaces</a></p>
|
||||
|
||||
<p>simple <a href="with (spaces).html">URL with spaces</a></p>
|
||||
|
||||
<p>simple <a href="spaces.html">leading/trailing spaces</a></p>
|
||||
|
||||
<p>simple <a href="spaces.html">leading/trailing spaces</a></p>
|
||||
|
||||
<p>simple <a href="spaces.html">leading/trailing spaces</a></p>
|
||||
|
||||
<p>bad [URL <a href="something.html">not</a></p>
|
||||
|
||||
<p>bad [URL with parens](something(new.html)</p>
|
||||
|
||||
<p>bad [URL with empty title](something.html ‘’)</p>
|
||||
|
||||
<p>bad [URL](</p>
|
||||
|
||||
<p>bad [URL](no</p>
|
||||
@@ -0,0 +1,48 @@
|
||||
simple [URL]()
|
||||
|
||||
simple [URL](something.html)
|
||||
|
||||
simple [URL *with* formatting](something.html)
|
||||
|
||||
simple [URL with single quoted title](something.html 'a t"itle')
|
||||
|
||||
simple [URL with double quoted title](something.html "a t'itle")
|
||||
|
||||
simple [URL \[with \] escaped](something.html)
|
||||
|
||||
simple [URL with \] escaped](something.html)
|
||||
|
||||
simple [URL [with] nested](something.html)
|
||||
|
||||
simple [URL with [no](link.html) inside](something.html)
|
||||
|
||||
simple [URL with parens](/something/to(do))
|
||||
|
||||
simple [URL with parens](/something/to(do "doit")
|
||||
|
||||
simple [URL broken
|
||||
on line](something.html
|
||||
"title")
|
||||
|
||||
simple [URL with spaces](with spaces.html)
|
||||
|
||||
simple [URL with spaces](with spaces.html 'title')
|
||||
|
||||
simple [URL with spaces](with (spaces).html)
|
||||
|
||||
simple [leading/trailing spaces]( spaces.html)
|
||||
|
||||
simple [leading/trailing spaces](spaces.html )
|
||||
|
||||
simple [leading/trailing spaces]( spaces.html )
|
||||
|
||||
|
||||
bad [URL [not](something.html)
|
||||
|
||||
bad [URL with parens](something(new.html)
|
||||
|
||||
bad [URL with empty title](something.html '')
|
||||
|
||||
bad [URL](
|
||||
|
||||
bad [URL](no
|
||||
@@ -0,0 +1,6 @@
|
||||
\href{https://example.com/~tilde/}{https://example.com/\ensuremath{\sim}tilde/}
|
||||
|
||||
\href{http://example.com/percent\%20percent}{http://example.com/percent\%20percent}
|
||||
|
||||
\href{http://example.com/hash#hash}{http://example.com/hash\#hash}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<https://example.com/~tilde/>
|
||||
|
||||
<http://example.com/percent%20percent>
|
||||
|
||||
<http://example.com/hash#hash>
|
||||
@@ -0,0 +1,9 @@
|
||||
<p>This is a para.
|
||||
[id]: http://www.example.com/</p>
|
||||
|
||||
<pre><code>[4]: nourl
|
||||
</code></pre>
|
||||
|
||||
<p>Points to <a href="one.url">1</a> and <a href="two.url">2</a> and <a href="three.url">3</a> but not [4]</p>
|
||||
|
||||
<p>Points to <a href="http://example.com">_.:,;!?-</a> and <a href="test.html#'test'" title="title">otherid8</a></p>
|
||||
@@ -0,0 +1,27 @@
|
||||
This is a para.
|
||||
[id]: http://www.example.com/
|
||||
|
||||
[otherid1]: http://wwww.example.com/ "title 1"
|
||||
[otherid2]: http://wwww.example.com/ 'title 2'
|
||||
[otherid3]: <some spaces.html>
|
||||
[otherid4]: <some spaces.html> 'title'
|
||||
[otherid5]: some spaces.html
|
||||
[otherid6]: some spaces.html 'title'
|
||||
[otherid7]: some spaces
|
||||
"title"
|
||||
[otherid8]:test.html#'test' 'title'
|
||||
|
||||
[break]: http://www.example.com/test/asdf.html
|
||||
'Another title'
|
||||
|
||||
[1]: ignored.url
|
||||
[1]: one.url
|
||||
[2]: two.url
|
||||
[3]: three.url
|
||||
[4]: nourl
|
||||
|
||||
Points to [1] and [2] and [3] but not [4]
|
||||
|
||||
[_.:,;!?-]: http://example.com
|
||||
|
||||
Points to [_.:,;!?-] and [otherid8]
|
||||
@@ -0,0 +1,4 @@
|
||||
<p>Link def with <a hreflang="en" class="test" href="http://example.com" title="title">attr</a> and <a hreflang="en" class="test" href="http://example.com" title="title">attr 2</a> and <a class="test" href="http://example.com">attr 3</a> and <a hreflang="en" class="test" href="http://example.com">attr before</a></p>
|
||||
|
||||
<p>test</p>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
Link def with [attr] and [attr 2] and [attr 3] and [attr before]
|
||||
|
||||
[attr]: http://example.com 'title'
|
||||
{: hreflang="en" .test}
|
||||
|
||||
[attr 2]: http://example.com 'title'
|
||||
{: hreflang="en"}
|
||||
{: .test}
|
||||
|
||||
[attr 3]: http://example.com
|
||||
{: .test}
|
||||
test
|
||||
|
||||
{: hreflang="en"}
|
||||
{: .test}
|
||||
[attr before]: http://example.com
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>This is a <a href="with angle.html">link</a>.</p>
|
||||
|
||||
<p>This is a <a href="with angle.html" title="and title">link</a>.</p>
|
||||
@@ -0,0 +1,3 @@
|
||||
This is a [link](<with angle.html>).
|
||||
|
||||
This is a [link](<with angle.html> 'and title').
|
||||
@@ -0,0 +1,37 @@
|
||||
|
||||
<p>simple <a href="otherurl.html">URL</a> and <a href="someurl.html">URL</a></p>
|
||||
|
||||
<p>simple <a href="otherurl.html">URL</a> and <a href="someurl.html">URL</a></p>
|
||||
|
||||
<p>simple <a href="otherurl.html">1</a> and <a href="someurl.html">isurl</a></p>
|
||||
|
||||
<p>simple <a href="otherurl.html">1</a> and <a href="someurl.html">isurl</a></p>
|
||||
|
||||
<p>this is [a holy <a href="someurl.html">isurl</a>]</p>
|
||||
|
||||
<p>no [resolution][] here and [here]</p>
|
||||
|
||||
<p>with a <a href="url.html">break in
|
||||
the text</a></p>
|
||||
|
||||
<p>this not [isurl] and not [isurl]</p>
|
||||
|
||||
<p>a <a href="letters.html" title="This is the title">Link with_BIG</a> letters</p>
|
||||
|
||||
<p>bad [no URL] d <a href="someurl.html">isurl</a></p>
|
||||
|
||||
<p>[no url] invalid.html
|
||||
[no url]:</p>
|
||||
|
||||
<p>“title”</p>
|
||||
|
||||
<p>test <a href="invalid.html">url but no title</a>
|
||||
test [urldef]</p>
|
||||
|
||||
<p>[urldef]: some.url ‘title”</p>
|
||||
|
||||
<p>some <a href="with spaces.html" title="title">with spaces</a></p>
|
||||
|
||||
<p>this <a href="occasion.html">is a ‘special’ occasion for /all/ of us</a></p>
|
||||
|
||||
<p>this is <a href="predefined.html">predefined</a> for <a href="uri.html" title="My URI">URI</a></p>
|
||||
@@ -0,0 +1,3 @@
|
||||
:link_defs:
|
||||
predefined: [predefined.html]
|
||||
URI: [uri.html, My URI]
|
||||
@@ -0,0 +1,53 @@
|
||||
[isurl]: someurl.html
|
||||
[1]: otherurl.html
|
||||
|
||||
simple [URL][1] and [URL][isurl]
|
||||
|
||||
simple [URL] [1] and [URL]
|
||||
[isurl]
|
||||
|
||||
simple [1][] and [isurl][]
|
||||
|
||||
simple [1] and [isurl]
|
||||
|
||||
this is [a holy [isurl]]
|
||||
|
||||
no [resolution][] here and [here]
|
||||
|
||||
with a [break in
|
||||
the text]
|
||||
|
||||
[break in the text]: url.html
|
||||
|
||||
this not \[isurl] and not [isurl\]
|
||||
|
||||
a [Link with_BIG] letters
|
||||
|
||||
[link WITH_big]: letters.html
|
||||
'This is the title'
|
||||
|
||||
bad [no URL] d [isurl]
|
||||
|
||||
[no url] invalid.html
|
||||
[no url]:
|
||||
|
||||
[URL but no title]: invalid.html
|
||||
|
||||
"title"
|
||||
|
||||
test [url but no title]
|
||||
test [urldef]
|
||||
|
||||
[urldef]: some.url 'title"
|
||||
|
||||
|
||||
some [with spaces]
|
||||
|
||||
[with spaces]: with spaces.html "title"
|
||||
|
||||
this [is a 'special' occasion for /all/ of us]
|
||||
|
||||
[is a 'special' occasion for /all/ of us]: occasion.html
|
||||
|
||||
|
||||
this is [predefined] for [URI]
|
||||
Reference in New Issue
Block a user