aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/document.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/construct/document.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/construct/document.rs b/src/construct/document.rs
index a81be8a..656525c 100644
--- a/src/construct/document.rs
+++ b/src/construct/document.rs
@@ -423,7 +423,7 @@ pub fn flow_end(tokenizer: &mut Tokenizer) -> State {
if !document_lazy_continuation_current && !child.events.is_empty() {
let before = skip::opt_back(&child.events, child.events.len() - 1, &[Name::LineEnding]);
let name = &child.events[before].name;
- if name == &Name::Content {
+ if name == &Name::Content || name == &Name::HeadingSetextUnderline {
document_lazy_continuation_current = true;
}
}