Skip to content

Commit cd92367

Browse files
linawolfjaapio
authored andcommitted
[BUGFIX] Adjust levels of sections in tests
1 parent 04a39bf commit cd92367

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

tests/Integration/tests/markdown/sections-md/expected/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,36 @@ <h1>Sample RST Document</h1>
66
<h2>Introduction</h2>
77

88
<p>This is a sample reStructuredText document demonstrating sections and subsections.</p>
9+
</div>
10+
911
<div class="section" id="section-1">
10-
<h3>Section 1</h3>
12+
<h2>Section 1</h2>
1113

1214
<p>This is the first section of the document.</p>
1315
<div class="section" id="subsection-1-1">
14-
<h4>Subsection 1.1</h4>
16+
<h3>Subsection 1.1</h3>
1517

1618
<p>This is a subsection under Section 1.</p>
1719
</div>
1820

1921
<div class="section" id="subsection-1-2">
20-
<h4>Subsection 1.2</h4>
22+
<h3>Subsection 1.2</h3>
2123

2224
<p>Another subsection under Section 1.</p>
2325
</div>
2426

2527
</div>
2628

2729
<div class="section" id="section-2">
28-
<h3>Section 2</h3>
30+
<h2>Section 2</h2>
2931

3032
<p>Moving on to the second section of the document.</p>
3133
<div class="section" id="subsection-2-1">
32-
<h4>Subsection 2.1</h4>
34+
<h3>Subsection 2.1</h3>
3335

3436
<p>A subsection under Section 2.</p>
3537
</div>
3638

37-
</div>
38-
3939
</div>
4040

4141
<div class="section" id="conclusion">

tests/Integration/tests/sections/expected/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,36 @@ <h1>Sample RST Document</h1>
66
<h2>Introduction</h2>
77

88
<p>This is a sample reStructuredText document demonstrating sections and subsections.</p>
9+
</div>
10+
911
<div class="section" id="section-1">
10-
<h3>Section 1</h3>
12+
<h2>Section 1</h2>
1113

1214
<p>This is the first section of the document.</p>
1315
<div class="section" id="subsection-1-1">
14-
<h4>Subsection 1.1</h4>
16+
<h3>Subsection 1.1</h3>
1517

1618
<p>This is a subsection under Section 1.</p>
1719
</div>
1820

1921
<div class="section" id="subsection-1-2">
20-
<h4>Subsection 1.2</h4>
22+
<h3>Subsection 1.2</h3>
2123

2224
<p>Another subsection under Section 1.</p>
2325
</div>
2426

2527
</div>
2628

2729
<div class="section" id="section-2">
28-
<h3>Section 2</h3>
30+
<h2>Section 2</h2>
2931

3032
<p>Moving on to the second section of the document.</p>
3133
<div class="section" id="subsection-2-1">
32-
<h4>Subsection 2.1</h4>
34+
<h3>Subsection 2.1</h3>
3335

3436
<p>A subsection under Section 2.</p>
3537
</div>
3638

37-
</div>
38-
3939
</div>
4040

4141
<div class="section" id="conclusion">

tests/Integration/tests/sections/input/index.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,36 @@ Sample RST Document
33
====================
44

55
Introduction
6-
------------
6+
============
77

88
This is a sample reStructuredText document demonstrating sections and subsections.
99

1010
Section 1
11-
~~~~~~~~~
11+
=========
1212

1313
This is the first section of the document.
1414

1515
Subsection 1.1
16-
^^^^^^^^^^^^^^
16+
--------------
1717

1818
This is a subsection under Section 1.
1919

2020
Subsection 1.2
21-
^^^^^^^^^^^^^^
21+
--------------
2222

2323
Another subsection under Section 1.
2424

2525
Section 2
26-
~~~~~~~~~
26+
=========
2727

2828
Moving on to the second section of the document.
2929

3030
Subsection 2.1
31-
^^^^^^^^^^^^^^
31+
--------------
3232

3333
A subsection under Section 2.
3434

3535
Conclusion
36-
-----------
36+
==========
3737

38-
In conclusion, this is a simple example of a reStructuredText document with various sections and subsections.
38+
In conclusion, this is a simple example of a reStructuredText document with various sections and subsections.

0 commit comments

Comments
 (0)