-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Multiline comments may contain empty lines
- Loading branch information
Showing
8 changed files
with
48 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
<p>this is not a comment</p> | ||
<blockquote> | ||
<p>this is a blockquote</p> | ||
</blockquote> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,4 +37,4 @@ Document title | |
|
||
.. | ||
Block quote text. | ||
This is a comment |
8 changes: 8 additions & 0 deletions
8
tests/Integration/tests/comments/comment-multiline/expected/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- content start --> | ||
<div class="section" id="some-title"> | ||
<h1>Some Title</h1> | ||
|
||
<p>This text is no comment</p> | ||
</div> | ||
|
||
<!-- content end --> |
10 changes: 10 additions & 0 deletions
10
tests/Integration/tests/comments/comment-multiline/input/index.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Some Title | ||
========== | ||
|
||
.. | ||
This whole indented block | ||
is a comment. | ||
Still in the comment. | ||
|
||
This text is no comment |
12 changes: 12 additions & 0 deletions
12
tests/Integration/tests/comments/comment-nested/expected/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!-- content start --> | ||
<div class="section" id="some-title"> | ||
<h1>Some Title</h1> | ||
|
||
<div class="admonition note"> | ||
<p>No comment!</p><p>This text is no comment</p> | ||
</div> | ||
|
||
<p>After the node</p> | ||
</div> | ||
|
||
<!-- content end --> |
15 changes: 15 additions & 0 deletions
15
tests/Integration/tests/comments/comment-nested/input/index.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Some Title | ||
========== | ||
|
||
.. note:: | ||
No comment! | ||
|
||
.. | ||
This whole indented block | ||
is a comment. | ||
Still in the comment. | ||
|
||
This text is no comment | ||
|
||
After the node |