Skip to content

Commit

Permalink
Added ignore some <br> in HTML parser.
Browse files Browse the repository at this point in the history
- see #534
  • Loading branch information
ylussaud committed Nov 5, 2024
1 parent 554b53f commit b0df89d
Show file tree
Hide file tree
Showing 10 changed files with 364 additions and 88 deletions.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
66 changes: 63 additions & 3 deletions tests/org.obeonetwork.m2doc.html.tests/resources/html/br/doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,69 @@
<head>
</head>
<body>
<p>
To break lines<br>in a text,<br>use the br element.
</p>
To break lines<br>in a text,<br>use the br element.
<p>********************</p>
<br>
<p>********************</p>
<br>
<br>
<p>********************</p>
<br>
<br>
<br>
<p>********************</p>
A Line<br>
<p>********************</p>
<br>A Line
<p>********************</p>
<br>A Line<br>
<p>********************</p>
A Line<br>
<ul>
<li>Item1</li>
<li>Item2</li>
<li>Item3</li>
</ul>
<p>********************</p>
<p>
To break lines<br>in a text,<br>use the br element.
</p>
<p>********************</p>
<p style="background-color:Tomato;">
<br>
</p>
<p>********************</p>
<p style="background-color:Tomato;">
<br>
<br>
</p>
<p>********************</p>
<p style="background-color:Tomato;">
<br>
<br>
<br>
</p>
<p>********************</p>
<p style="background-color:Tomato;">
A Line<br>
</p>
<p>********************</p>
<p style="background-color:Tomato;">
<br>A Line
</p>
<p>********************</p>
<p style="background-color:Tomato;">
<br>A Line<br>
</p>
<p>********************</p>
<p style="background-color:Tomato;">
A Line<br>
<ul>
<li>Item1</li>
<li>Item2</li>
<li>Item3</li>
</ul>
</p>
</body>
</html>

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit b0df89d

Please sign in to comment.