Resolve conflict for testcases

This commit is contained in:
jpirnay
2026-05-15 20:51:26 +02:00
parent 95d33a67f0
commit 0ef05f0b77
5 changed files with 25 additions and 1 deletions
+25 -1
View File
@@ -1014,6 +1014,7 @@ def main():
<li>pre element: intrinsic line breaks preserved</li>
<li>pre element: leading/trailing blank lines</li>
<li>pre with inline code element</li>
<li>horizontal rules between paragraphs</li>
<li>superscript and subscript rendering</li>
</ul>
""",
@@ -1067,7 +1068,30 @@ greet("World");</code></pre>
[],
),
(
"4. Superscript and Subscript",
"4. Horizontal Rules",
make_chapter(
"Horizontal Rule Tests",
"""
<p>A plain &lt;hr&gt; between two paragraphs. A thin line should appear between the two blocks of text.</p>
<p>Paragraph before the first rule. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<hr/>
<p>Paragraph after the first rule. The rule above should be a full-width horizontal line.</p>
<hr/>
<p>Second rule above. Two rules in a row with no text between them:</p>
<hr/>
<hr/>
<p>Two rules appeared above. Now a rule right after the heading:</p>
<hr/>
<p>Rule appeared right after the paragraph above. Finally, a rule near the end of the page to verify it does not cause a spurious page break when there is still room:</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<hr/>
<p>End of horizontal rule tests.</p>
""",
),
[],
),
(
"5. Superscript and Subscript",
make_chapter(
"Superscript and Subscript",
"""
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.