Skip to content

Commit 1b402c6

Browse files
committed
Add test case
1 parent 6b93e85 commit 1b402c6

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

tests/format/markdown/html/__snapshots__/format.test.js.snap

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,10 @@ proseWrap: "always"
495495
> line 2
496496
> "></div>
497497
498+
text <a class="line 1
499+
line 2
500+
" href="#">text</a> text
501+
498502
=====================================output=====================================
499503
<unknown title="line 1
500504
line 2
@@ -525,6 +529,10 @@ proseWrap: "always"
525529
> line 2
526530
> "></div>
527531
532+
text <a class="line 1
533+
line 2
534+
" href="#">text</a> text
535+
528536
================================================================================
529537
`;
530538
@@ -565,6 +573,10 @@ proseWrap: "never"
565573
> line 2
566574
> "></div>
567575
576+
text <a class="line 1
577+
line 2
578+
" href="#">text</a> text
579+
568580
=====================================output=====================================
569581
<unknown title="line 1
570582
line 2
@@ -595,6 +607,10 @@ proseWrap: "never"
595607
> line 2
596608
> "></div>
597609
610+
text <a class="line 1
611+
line 2
612+
" href="#">text</a> text
613+
598614
================================================================================
599615
`;
600616
@@ -635,6 +651,10 @@ proseWrap: "preserve"
635651
> line 2
636652
> "></div>
637653
654+
text <a class="line 1
655+
line 2
656+
" href="#">text</a> text
657+
638658
=====================================output=====================================
639659
<unknown title="line 1
640660
line 2
@@ -665,6 +685,10 @@ proseWrap: "preserve"
665685
> line 2
666686
> "></div>
667687
688+
text <a class="line 1
689+
line 2
690+
" href="#">text</a> text
691+
668692
================================================================================
669693
`;
670694

tests/format/markdown/html/multiline-attribute.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@
2727
> <div title="line 1
2828
> line 2
2929
> "></div>
30+
31+
text <a class="line 1
32+
line 2
33+
" href="#">text</a> text

0 commit comments

Comments
 (0)