summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-08 12:08:36 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-09 13:21:37 -0800
commitc6f95684f90a4d1efd2185984b1aa2931591efb4 (patch)
treedf34cb274d4288a682d397626e69b7b2b23296f2 /src
parent18207addd5d922a9ca1ec6e83a895108f13e3c25 (diff)
Fixed problem with images.
Diffstat (limited to 'src')
-rw-r--r--src/inlines.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 937c33f..a3d848d 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -858,6 +858,7 @@ static int parse_inline(subject* subj, node_inl ** last)
case '!':
advance(subj);
if (peek_char(subj) == '[') {
+ advance(subj);
new = make_str(chunk_literal("!["));
subj->openers = push_opener(subj, 1, '!', new);
} else {