Skip to content

Commit

Permalink
Merge pull request #498 from phpDocumentor/tests/enable-fixed-lists
Browse files Browse the repository at this point in the history
List test are aready passing as expected
  • Loading branch information
jaapio authored Jul 18, 2023
2 parents 1ec2ac5 + bca81fd commit f11e5c8
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 31 deletions.
35 changes: 22 additions & 13 deletions tests/Integration/tests/lists/expected/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
<ul class="simple">
<li><p>List item 1</p></li>
<li><p>This is list item two</p></li>
<li><p>And finally, list item three.</p></li>
</ul>
<ul class="simple">
<li><p>Another list</p>
<ul>
<li><p>that is indented</p></li>
<li><p>indented list item</p></li>
</ul>
</li>
</ul>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document Title</title>
</head>
<body>
<div class="section" id="document-title">
<h1>Document Title</h1>
<ul>
<li>List item 1</li>
<li>This is list item two</li>
<li>And finally, list item three.</li>
<li><p>Another list</p>
<ul>
<li>that is indented</li>
<li>indented list item</li>
</ul>
</li>
</ul>
</div>
</body>
</html>
8 changes: 6 additions & 2 deletions tests/Integration/tests/lists/input/index.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
==============
Document Title
==============

* List item 1
* This is list item two
* And finally, list item three.

* Another list
* that is indented
* indented list item

* that is indented
* indented list item
Empty file.
38 changes: 23 additions & 15 deletions tests/Integration/tests/numbered-lists/expected/index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
<ol class="simple">
<li><p>First numbered list item.</p></li>
<li><p>This is the second numbered list item.</p></li>
<li><p>and then the third numbered list item.</p></li>
</ol>

<ol class="simple">
<li><p>First numbered list item.</p></li>
<li><p>This is the second numbered list item.</p></li>
<li><p>and then the third numbered list item.</p></li>
<ol class="simple">
<li><p>This is an indented numbered list.</p></li>
<li><p>This is the second item.</p></li>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document Title</title>
</head>
<body>
<div class="section" id="document-title">
<h1>Document Title</h1>
<ol>
<li>First numbered list item.</li>
<li>This is the second numbered list item.</li>
<li>and then the third numbered list item.</li>
<li>First numbered list item.</li>
<li>This is the second numbered list item.</li>
<li><p>and then the third numbered list item.</p>
<ol>
<li>This is an indented numbered list.</li>
<li>This is the second item.</li>
</ol>
</li>
</ol>
</li>
</ol>
</div>
</body>
</html>
6 changes: 5 additions & 1 deletion tests/Integration/tests/numbered-lists/input/index.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
==============
Document Title
==============

#. First numbered list item.
#. This is the second numbered list item.
#. and then the third numbered list item.

#. First numbered list item.
#. This is second numbered list item.
#. This is the second numbered list item.
#. and then the third numbered list item.

#. This is an indented numbered list.
Expand Down
Empty file.

0 comments on commit f11e5c8

Please sign in to comment.