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 3e810bc..7f58ffd 100644
--- a/src/blocks.c
+++ b/src/blocks.c
@@ -904,6 +904,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))) {