Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
馃悰 FIX: Source line reporting for nested parsing (#490)
Previously, nested parsing of content within directives would not correctly propagate the starting line number of the content.
- Loading branch information
1 parent
0f2902a
commit 79f3b4a
Showing
9 changed files
with
61 additions
and
16 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
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
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
7 changes: 7 additions & 0 deletions
7
tests/test_renderers/test_parse_directives/test_parsing_Note___class__name_n_na_.yml
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,7 @@ | ||
arguments: [] | ||
body: | ||
- a | ||
content_offset: 2 | ||
options: | ||
class: | ||
- name |
1 change: 1 addition & 0 deletions
1
tests/test_renderers/test_parse_directives/test_parsing_Note__a_.yml
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,5 @@ | ||
arguments: [] | ||
body: | ||
- a | ||
content_offset: 0 | ||
options: {} |
1 change: 1 addition & 0 deletions
1
tests/test_renderers/test_parse_directives/test_parsing_Note_a__.yml
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,5 @@ | ||
arguments: [] | ||
body: | ||
- a | ||
content_offset: 0 | ||
options: {} |