Skip to content

Commit

Permalink
add new testcases for <br/> inside blockquote
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesKaufmann committed Dec 25, 2024
1 parent eca9d5c commit 5493558
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plugin/commonmark/testdata/GoldenFiles/blockquote.in.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
<blockquote>

</blockquote>


<!--with one break-->
<blockquote>Line A<br />Line B</blockquote>


<!--with multiple breaks-->
<blockquote>
<p>Start Line</p>
<br /><br /><br />
Expand Down
7 changes: 7 additions & 0 deletions plugin/commonmark/testdata/GoldenFiles/blockquote.out.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
<!--empty blockquote-->

<!--with one break-->

> Line A
Line B

<!--with multiple breaks-->

> Start Line
>
> End Line
Expand Down
11 changes: 11 additions & 0 deletions plugin/commonmark/testdata/GoldenFiles/list.in.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,17 @@
<hr />


<!-- list with blockquote that contains break -->
<ol>
<li>
<blockquote>Line A<br />Line B</blockquote>
</li>
</ol>


<hr />


<!-- parsing the number fails -->
<ol start="text">
<li>one</li>
Expand Down
8 changes: 8 additions & 0 deletions plugin/commonmark/testdata/GoldenFiles/list.out.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ List Item without Container

* * *

<!-- list with blockquote that contains break -->

1. > Line A
Line B

* * *

<!-- parsing the number fails -->

1. one
Expand Down

0 comments on commit 5493558

Please sign in to comment.