fix(org_rw): Ensure closing delimiters are same subtype as openers.
This commit is contained in:
parent
0bdb29a278
commit
506a17dc5c
1 changed files with 1 additions and 0 deletions
|
@ -415,6 +415,7 @@ class Headline:
|
|||
if (
|
||||
isinstance(line, DelimiterLine)
|
||||
and line.delimiter_type == DelimiterLineType.END_BLOCK
|
||||
and line.type_data.subtype == current_node.header.type_data.subtype
|
||||
):
|
||||
|
||||
start = current_node.header.linenum
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue