diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-11-05 12:48:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-05 12:48:26 -0500 |
commit | b40ecdcd459bff13ecdb0ab586abf22fb223490f (patch) | |
tree | 0177899c8713b2bf13c437c83dabd54032463d6e /src/blocks.c | |
parent | 5da792fc3714f66a88aabb5d13cb0eed674cb6c5 (diff) | |
parent | 1326fd0d8d945b1eb33c5c5d2f536c6fda0201d1 (diff) |
Merge pull request #228 from github/upstream/inline-sourcepos
Add sourcepos info for inlines
Diffstat (limited to 'src/blocks.c')
-rw-r--r-- | src/blocks.c | 1 |
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))) { |