Skip to content

Commit 5493558

Browse files
add new testcases for <br/> inside blockquote
1 parent eca9d5c commit 5493558

File tree

4 files changed

+33
-0
lines changed

4 files changed

+33
-0
lines changed

‎plugin/commonmark/testdata/GoldenFiles/blockquote.in.html‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
<blockquote>
1313

1414
</blockquote>
15+
16+
17+
<!--with one break-->
18+
<blockquote>Line A<br />Line B</blockquote>
19+
20+
21+
<!--with multiple breaks-->
1522
<blockquote>
1623
<p>Start Line</p>
1724
<br /><br /><br />

‎plugin/commonmark/testdata/GoldenFiles/blockquote.out.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
55
<!--empty blockquote-->
66

7+
<!--with one break-->
8+
9+
> Line A
10+
Line B
11+
12+
<!--with multiple breaks-->
13+
714
> Start Line
815
>
916
> End Line

‎plugin/commonmark/testdata/GoldenFiles/list.in.html‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,17 @@
8585
<hr />
8686

8787

88+
<!-- list with blockquote that contains break -->
89+
<ol>
90+
<li>
91+
<blockquote>Line A<br />Line B</blockquote>
92+
</li>
93+
</ol>
94+
95+
96+
<hr />
97+
98+
8899
<!-- parsing the number fails -->
89100
<ol start="text">
90101
<li>one</li>

‎plugin/commonmark/testdata/GoldenFiles/list.out.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ List Item without Container
5454

5555
* * *
5656

57+
<!-- list with blockquote that contains break -->
58+
59+
1. > Line A
60+
61+
Line B
62+
63+
* * *
64+
5765
<!-- parsing the number fails -->
5866

5967
1. one

0 commit comments

Comments
 (0)