Skip to content
This repository has been archived by the owner on Feb 24, 2025. It is now read-only.

Update common mark spec to v0.31.2 #591

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions test/common_mark/autolinks.unit
Original file line number Diff line number Diff line change
@@ -1,76 +1,76 @@
>>> Autolinks - 593
>>> Autolinks - 594
<http://foo.bar.baz>
<<<
<p><a href="http://foo.bar.baz">http://foo.bar.baz</a></p>
>>> Autolinks - 594
<http://foo.bar.baz/test?q=hello&id=22&boolean>
<<<
<p><a href="http://foo.bar.baz/test?q=hello&amp;id=22&amp;boolean">http://foo.bar.baz/test?q=hello&amp;id=22&amp;boolean</a></p>
>>> Autolinks - 595
<https://foo.bar.baz/test?q=hello&id=22&boolean>
<<<
<p><a href="https://foo.bar.baz/test?q=hello&amp;id=22&amp;boolean">https://foo.bar.baz/test?q=hello&amp;id=22&amp;boolean</a></p>
>>> Autolinks - 596
<irc://foo.bar:2233/baz>
<<<
<p><a href="irc://foo.bar:2233/baz">irc://foo.bar:2233/baz</a></p>
>>> Autolinks - 596
>>> Autolinks - 597
<MAILTO:[email protected]>
<<<
<p><a href="MAILTO:[email protected]">MAILTO:[email protected]</a></p>
>>> Autolinks - 597
>>> Autolinks - 598
<a+b+c:d>
<<<
<p><a href="a+b+c:d">a+b+c:d</a></p>
>>> Autolinks - 598
>>> Autolinks - 599
<made-up-scheme://foo,bar>
<<<
<p><a href="made-up-scheme://foo,bar">made-up-scheme://foo,bar</a></p>
>>> Autolinks - 599
<http://../>
<<<
<p><a href="http://../">http://../</a></p>
>>> Autolinks - 600
<localhost:5001/foo>
<https://../>
<<<
<p><a href="localhost:5001/foo">localhost:5001/foo</a></p>
<p><a href="https://../">https://../</a></p>
>>> Autolinks - 601
<http://foo.bar/baz bim>
<localhost:5001/foo>
<<<
<p>&lt;http://foo.bar/baz bim&gt;</p>
<p><a href="localhost:5001/foo">localhost:5001/foo</a></p>
>>> Autolinks - 602
<http://example.com/\[\>
<https://foo.bar/baz bim>
<<<
<p><a href="http://example.com/%5C%5B%5C">http://example.com/\[\</a></p>
<p>&lt;https://foo.bar/baz bim&gt;</p>
>>> Autolinks - 603
<https://example.com/\[\>
<<<
<p><a href="https://example.com/%5C%5B%5C">https://example.com/\[\</a></p>
>>> Autolinks - 604
<[email protected]>
<<<
<p><a href="mailto:[email protected]">[email protected]</a></p>
>>> Autolinks - 604
>>> Autolinks - 605
<[email protected]>
<<<
<p><a href="mailto:[email protected]">[email protected]</a></p>
>>> Autolinks - 605
>>> Autolinks - 606
<foo\[email protected]>
<<<
<p>&lt;[email protected]&gt;</p>
>>> Autolinks - 606
>>> Autolinks - 607
<>
<<<
<p>&lt;&gt;</p>
>>> Autolinks - 607
< http://foo.bar >
<<<
<p>&lt; http://foo.bar &gt;</p>
>>> Autolinks - 608
< https://foo.bar >
<<<
<p>&lt; https://foo.bar &gt;</p>
>>> Autolinks - 609
<m:abc>
<<<
<p>&lt;m:abc&gt;</p>
>>> Autolinks - 609
>>> Autolinks - 610
<foo.bar.baz>
<<<
<p>&lt;foo.bar.baz&gt;</p>
>>> Autolinks - 610
http://example.com
<<<
<p>http://example.com</p>
>>> Autolinks - 611
https://example.com
<<<
<p>https://example.com</p>
>>> Autolinks - 612
[email protected]
<<<
<p>[email protected]</p>
4 changes: 2 additions & 2 deletions test/common_mark/backslash_escapes.unit
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ bar</p>
<pre><code>\[\]
</code></pre>
>>> Backslash escapes - 20
<http://example.com?find=\*>
<https://example.com?find=\*>
<<<
<p><a href="http://example.com?find=%5C*">http://example.com?find=\*</a></p>
<p><a href="https://example.com?find=%5C*">https://example.com?find=\*</a></p>
>>> Backslash escapes - 21
<a href="/bar\/)">
<<<
Expand Down
8 changes: 4 additions & 4 deletions test/common_mark/code_spans.unit
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ baz`
<<<
<p><a href="`">`</p>
>>> Code spans - 345
`<http://foo.bar.`baz>`
`<https://foo.bar.`baz>`
<<<
<p><code>&lt;http://foo.bar.</code>baz&gt;`</p>
<p><code>&lt;https://foo.bar.</code>baz&gt;`</p>
>>> Code spans - 346
<http://foo.bar.`baz>`
<https://foo.bar.`baz>`
<<<
<p><a href="http://foo.bar.%60baz">http://foo.bar.`baz</a>`</p>
<p><a href="https://foo.bar.%60baz">https://foo.bar.`baz</a>`</p>
>>> Code spans - 347
```foo``
<<<
Expand Down
Loading
Loading