fix(org_rw): Ensure closing delimiters are same subtype as openers.
This commit is contained in:
parent
7375a69229
commit
24dc516d64
@ -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…
Reference in New Issue
Block a user