mirror of
https://github.com/erusev/parsedown.git
synced 2024-09-20 03:51:29 +02:00
Update CommonMark expect to pass
This commit is contained in:
parent
d32f5de2fe
commit
9b9c9d83d2
@ -1 +1 @@
|
||||
<p><strong>foo <a href="/url">bar</a></strong></p>
|
||||
<p>** is not an empty emphasis</p>
|
@ -1 +1 @@
|
||||
**foo [bar](/url)**
|
||||
** is not an empty emphasis
|
@ -1,2 +1 @@
|
||||
<p><strong>foo
|
||||
bar</strong></p>
|
||||
<p>**** is not an empty strong emphasis</p>
|
@ -1,2 +1 @@
|
||||
**foo
|
||||
bar**
|
||||
**** is not an empty strong emphasis
|
@ -1 +1 @@
|
||||
<p><strong>foo <em>bar</em> baz</strong></p>
|
||||
<p><strong>foo <a href="/url">bar</a></strong></p>
|
@ -1 +1 @@
|
||||
__foo _bar_ baz__
|
||||
**foo [bar](/url)**
|
2
tests/commonmark/411-Emphasis_and_strong_emphasis.html
Normal file
2
tests/commonmark/411-Emphasis_and_strong_emphasis.html
Normal file
@ -0,0 +1,2 @@
|
||||
<p><strong>foo
|
||||
bar</strong></p>
|
2
tests/commonmark/411-Emphasis_and_strong_emphasis.md
Normal file
2
tests/commonmark/411-Emphasis_and_strong_emphasis.md
Normal file
@ -0,0 +1,2 @@
|
||||
**foo
|
||||
bar**
|
1
tests/commonmark/412-Emphasis_and_strong_emphasis.html
Normal file
1
tests/commonmark/412-Emphasis_and_strong_emphasis.html
Normal file
@ -0,0 +1 @@
|
||||
<p><strong>foo <em>bar</em> baz</strong></p>
|
1
tests/commonmark/412-Emphasis_and_strong_emphasis.md
Normal file
1
tests/commonmark/412-Emphasis_and_strong_emphasis.md
Normal file
@ -0,0 +1 @@
|
||||
__foo _bar_ baz__
|
@ -1 +1 @@
|
||||
<p><strong><em>foo</em> bar</strong></p>
|
||||
<p><strong>foo <em>bar</em> baz</strong></p>
|
@ -1 +1 @@
|
||||
***foo* bar**
|
||||
**foo *bar* baz**
|
@ -1 +1 @@
|
||||
<p><strong>foo <em>bar</em></strong></p>
|
||||
<p><strong>foo<em>bar</em>baz</strong></p>
|
@ -1 +1 @@
|
||||
**foo *bar***
|
||||
**foo*bar*baz**
|
@ -1,2 +1 @@
|
||||
<p><strong>foo <em>bar <strong>baz</strong>
|
||||
bim</em> bop</strong></p>
|
||||
<p><strong><em>foo</em> bar</strong></p>
|
@ -1,2 +1 @@
|
||||
**foo *bar **baz**
|
||||
bim* bop**
|
||||
***foo* bar**
|
@ -1 +1 @@
|
||||
<p><strong>foo <a href="/url"><em>bar</em></a></strong></p>
|
||||
<p><strong>foo <em>bar</em></strong></p>
|
@ -1 +1 @@
|
||||
**foo [*bar*](/url)**
|
||||
**foo *bar***
|
@ -1 +1,2 @@
|
||||
<p>__ is not an empty emphasis</p>
|
||||
<p><strong>foo <em>bar <strong>baz</strong>
|
||||
bim</em> bop</strong></p>
|
@ -1 +1,2 @@
|
||||
__ is not an empty emphasis
|
||||
**foo *bar **baz**
|
||||
bim* bop**
|
@ -1 +1 @@
|
||||
<p>____ is not an empty strong emphasis</p>
|
||||
<p><strong>foo <a href="/url"><em>bar</em></a></strong></p>
|
@ -1 +1 @@
|
||||
____ is not an empty strong emphasis
|
||||
**foo [*bar*](/url)**
|
@ -1 +1 @@
|
||||
<p>foo ***</p>
|
||||
<p>__ is not an empty emphasis</p>
|
@ -1 +1 @@
|
||||
foo ***
|
||||
__ is not an empty emphasis
|
@ -1 +1 @@
|
||||
<p>foo <em>*</em></p>
|
||||
<p>____ is not an empty strong emphasis</p>
|
@ -1 +1 @@
|
||||
foo *\**
|
||||
____ is not an empty strong emphasis
|
@ -1 +1 @@
|
||||
<p>foo <em>_</em></p>
|
||||
<p>foo ***</p>
|
@ -1 +1 @@
|
||||
foo *_*
|
||||
foo ***
|
@ -1 +1 @@
|
||||
<p>foo *****</p>
|
||||
<p>foo <em>*</em></p>
|
@ -1 +1 @@
|
||||
foo *****
|
||||
foo *\**
|
@ -1 +1 @@
|
||||
<p>foo <strong>*</strong></p>
|
||||
<p>foo <em>_</em></p>
|
@ -1 +1 @@
|
||||
foo **\***
|
||||
foo *_*
|
@ -1 +1 @@
|
||||
<p>foo <strong>_</strong></p>
|
||||
<p>foo *****</p>
|
@ -1 +1 @@
|
||||
foo **_**
|
||||
foo *****
|
@ -1 +1 @@
|
||||
<p>*<em>foo</em></p>
|
||||
<p>foo <strong>*</strong></p>
|
@ -1 +1 @@
|
||||
**foo*
|
||||
foo **\***
|
1
tests/commonmark/429-Emphasis_and_strong_emphasis.html
Normal file
1
tests/commonmark/429-Emphasis_and_strong_emphasis.html
Normal file
@ -0,0 +1 @@
|
||||
<p>foo <strong>_</strong></p>
|
1
tests/commonmark/429-Emphasis_and_strong_emphasis.md
Normal file
1
tests/commonmark/429-Emphasis_and_strong_emphasis.md
Normal file
@ -0,0 +1 @@
|
||||
foo **_**
|
@ -1 +1 @@
|
||||
<p>*<strong>foo</strong></p>
|
||||
<p>*<em>foo</em></p>
|
@ -1 +1 @@
|
||||
***foo**
|
||||
**foo*
|
1
tests/commonmark/432-Emphasis_and_strong_emphasis.html
Normal file
1
tests/commonmark/432-Emphasis_and_strong_emphasis.html
Normal file
@ -0,0 +1 @@
|
||||
<p>*<strong>foo</strong></p>
|
1
tests/commonmark/432-Emphasis_and_strong_emphasis.md
Normal file
1
tests/commonmark/432-Emphasis_and_strong_emphasis.md
Normal file
@ -0,0 +1 @@
|
||||
***foo**
|
1
tests/commonmark/433-Emphasis_and_strong_emphasis.html
Normal file
1
tests/commonmark/433-Emphasis_and_strong_emphasis.html
Normal file
@ -0,0 +1 @@
|
||||
<p>***<em>foo</em></p>
|
1
tests/commonmark/433-Emphasis_and_strong_emphasis.md
Normal file
1
tests/commonmark/433-Emphasis_and_strong_emphasis.md
Normal file
@ -0,0 +1 @@
|
||||
****foo*
|
@ -1 +1 @@
|
||||
<p>foo <em>*</em></p>
|
||||
<p>foo ___</p>
|
@ -1 +1 @@
|
||||
foo _*_
|
||||
foo ___
|
@ -1 +1 @@
|
||||
<p>foo _____</p>
|
||||
<p>foo <em>_</em></p>
|
@ -1 +1 @@
|
||||
foo _____
|
||||
foo _\__
|
@ -1 +1 @@
|
||||
<p>foo <strong>_</strong></p>
|
||||
<p>foo <em>*</em></p>
|
@ -1 +1 @@
|
||||
foo __\___
|
||||
foo _*_
|
@ -1 +1 @@
|
||||
<p>foo <strong>*</strong></p>
|
||||
<p>foo _____</p>
|
@ -1 +1 @@
|
||||
foo __*__
|
||||
foo _____
|
@ -1 +1 @@
|
||||
<p>_<em>foo</em></p>
|
||||
<p>foo <strong>_</strong></p>
|
@ -1 +1 @@
|
||||
__foo_
|
||||
foo __\___
|
1
tests/commonmark/441-Emphasis_and_strong_emphasis.html
Normal file
1
tests/commonmark/441-Emphasis_and_strong_emphasis.html
Normal file
@ -0,0 +1 @@
|
||||
<p>foo <strong>*</strong></p>
|
1
tests/commonmark/441-Emphasis_and_strong_emphasis.md
Normal file
1
tests/commonmark/441-Emphasis_and_strong_emphasis.md
Normal file
@ -0,0 +1 @@
|
||||
foo __*__
|
@ -1 +1 @@
|
||||
<p>_<strong>foo</strong></p>
|
||||
<p>_<em>foo</em></p>
|
@ -1 +1 @@
|
||||
___foo__
|
||||
__foo_
|
1
tests/commonmark/444-Emphasis_and_strong_emphasis.html
Normal file
1
tests/commonmark/444-Emphasis_and_strong_emphasis.html
Normal file
@ -0,0 +1 @@
|
||||
<p>_<strong>foo</strong></p>
|
1
tests/commonmark/444-Emphasis_and_strong_emphasis.md
Normal file
1
tests/commonmark/444-Emphasis_and_strong_emphasis.md
Normal file
@ -0,0 +1 @@
|
||||
___foo__
|
1
tests/commonmark/445-Emphasis_and_strong_emphasis.html
Normal file
1
tests/commonmark/445-Emphasis_and_strong_emphasis.html
Normal file
@ -0,0 +1 @@
|
||||
<p>___<em>foo</em></p>
|
1
tests/commonmark/445-Emphasis_and_strong_emphasis.md
Normal file
1
tests/commonmark/445-Emphasis_and_strong_emphasis.md
Normal file
@ -0,0 +1 @@
|
||||
____foo_
|
@ -1 +1 @@
|
||||
__foo__
|
||||
**foo**
|
@ -1 +1 @@
|
||||
_*foo*_
|
||||
*_foo_*
|
@ -1 +1 @@
|
||||
<p><strong><strong>foo</strong></strong></p>
|
||||
<p><strong>foo</strong></p>
|
@ -1 +1 @@
|
||||
****foo****
|
||||
__foo__
|
@ -1 +1 @@
|
||||
<p><strong><strong>foo</strong></strong></p>
|
||||
<p><em><em>foo</em></em></p>
|
@ -1 +1 @@
|
||||
____foo____
|
||||
_*foo*_
|
1
tests/commonmark/452-Emphasis_and_strong_emphasis.html
Normal file
1
tests/commonmark/452-Emphasis_and_strong_emphasis.html
Normal file
@ -0,0 +1 @@
|
||||
<p><strong><strong>foo</strong></strong></p>
|
1
tests/commonmark/452-Emphasis_and_strong_emphasis.md
Normal file
1
tests/commonmark/452-Emphasis_and_strong_emphasis.md
Normal file
@ -0,0 +1 @@
|
||||
****foo****
|
1
tests/commonmark/453-Emphasis_and_strong_emphasis.html
Normal file
1
tests/commonmark/453-Emphasis_and_strong_emphasis.html
Normal file
@ -0,0 +1 @@
|
||||
<p><strong><strong>foo</strong></strong></p>
|
1
tests/commonmark/453-Emphasis_and_strong_emphasis.md
Normal file
1
tests/commonmark/453-Emphasis_and_strong_emphasis.md
Normal file
@ -0,0 +1 @@
|
||||
____foo____
|
1
tests/commonmark/457-Emphasis_and_strong_emphasis.html
Normal file
1
tests/commonmark/457-Emphasis_and_strong_emphasis.html
Normal file
@ -0,0 +1 @@
|
||||
<p><em>foo _bar</em> baz_</p>
|
1
tests/commonmark/457-Emphasis_and_strong_emphasis.md
Normal file
1
tests/commonmark/457-Emphasis_and_strong_emphasis.md
Normal file
@ -0,0 +1 @@
|
||||
*foo _bar* baz_
|
@ -1 +1 @@
|
||||
<p><a href="">link</a></p>
|
||||
<p><a href="/uri" title="title">link</a></p>
|
@ -1 +1 @@
|
||||
[link]()
|
||||
[link](/uri "title")
|
1
tests/commonmark/471-Links.html
Normal file
1
tests/commonmark/471-Links.html
Normal file
@ -0,0 +1 @@
|
||||
<p><a href="/uri">link</a></p>
|
1
tests/commonmark/471-Links.md
Normal file
1
tests/commonmark/471-Links.md
Normal file
@ -0,0 +1 @@
|
||||
[link](/uri)
|
@ -1 +1 @@
|
||||
<p>[link](/my uri)</p>
|
||||
<p><a href="">link</a></p>
|
@ -1 +1 @@
|
||||
[link](/my uri)
|
||||
[link]()
|
1
tests/commonmark/474-Links.html
Normal file
1
tests/commonmark/474-Links.html
Normal file
@ -0,0 +1 @@
|
||||
<p>[link](/my uri)</p>
|
1
tests/commonmark/474-Links.md
Normal file
1
tests/commonmark/474-Links.md
Normal file
@ -0,0 +1 @@
|
||||
[link](/my uri)
|
3
tests/commonmark/484-Links.html
Normal file
3
tests/commonmark/484-Links.html
Normal file
@ -0,0 +1,3 @@
|
||||
<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>
|
5
tests/commonmark/484-Links.md
Normal file
5
tests/commonmark/484-Links.md
Normal file
@ -0,0 +1,5 @@
|
||||
[link](#fragment)
|
||||
|
||||
[link](http://example.com#fragment)
|
||||
|
||||
[link](http://example.com?foo=3#frag)
|
@ -1 +1 @@
|
||||
<p>[link] (/uri)</p>
|
||||
<p>[link](/url "title "and" title")</p>
|
@ -1 +1 @@
|
||||
[link] (/uri)
|
||||
[link](/url "title "and" title")
|
@ -1 +1 @@
|
||||
<p><a href="/uri">link [foo [bar]]</a></p>
|
||||
<p><a href="/url" title="title "and" title">link</a></p>
|
@ -1 +1 @@
|
||||
[link [foo [bar]]](/uri)
|
||||
[link](/url 'title "and" title')
|
@ -1 +1 @@
|
||||
<p>[link <a href="/uri">bar</a></p>
|
||||
<p>[link] (/uri)</p>
|
@ -1 +1 @@
|
||||
[link [bar](/uri)
|
||||
[link] (/uri)
|
1
tests/commonmark/495-Links.html
Normal file
1
tests/commonmark/495-Links.html
Normal file
@ -0,0 +1 @@
|
||||
<p><a href="/uri">link [foo [bar]]</a></p>
|
1
tests/commonmark/495-Links.md
Normal file
1
tests/commonmark/495-Links.md
Normal file
@ -0,0 +1 @@
|
||||
[link [foo [bar]]](/uri)
|
@ -1 +1 @@
|
||||
<p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
|
||||
<p>[link] bar](/uri)</p>
|
@ -1 +1 @@
|
||||
[link *foo **bar** `#`*](/uri)
|
||||
[link] bar](/uri)
|
@ -1 +1 @@
|
||||
<p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>
|
||||
<p>[link <a href="/uri">bar</a></p>
|
@ -1 +1 @@
|
||||
[![moon](moon.jpg)](/uri)
|
||||
[link [bar](/uri)
|
1
tests/commonmark/499-Links.html
Normal file
1
tests/commonmark/499-Links.html
Normal file
@ -0,0 +1 @@
|
||||
<p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
|
1
tests/commonmark/499-Links.md
Normal file
1
tests/commonmark/499-Links.md
Normal file
@ -0,0 +1 @@
|
||||
[link *foo **bar** `#`*](/uri)
|
1
tests/commonmark/500-Links.html
Normal file
1
tests/commonmark/500-Links.html
Normal file
@ -0,0 +1 @@
|
||||
<p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>
|
1
tests/commonmark/500-Links.md
Normal file
1
tests/commonmark/500-Links.md
Normal file
@ -0,0 +1 @@
|
||||
[![moon](moon.jpg)](/uri)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user