summaryrefslogtreecommitdiff
path: root/src/blocks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blocks.c')
-rw-r--r--src/blocks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blocks.c b/src/blocks.c
index 5a293b2..acdbb34 100644
--- a/src/blocks.c
+++ b/src/blocks.c
@@ -900,6 +900,7 @@ static void open_new_blocks(cmark_parser *parser, cmark_node **container,
(*container)->as.heading.level = level;
(*container)->as.heading.setext = false;
+ (*container)->internal_offset = matched;
} else if (!indented && (matched = scan_open_code_fence(
input, parser->first_nonspace))) {