diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 0df6561..5ec8b49 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -372,7 +372,7 @@ extern void cmark_strbuf_unescape(cmark_strbuf *buf) for (r = 0, w = 0; r < buf->size; ++r) { if (buf->ptr[r] == '\\' && cmark_ispunct(buf->ptr[r + 1])) - continue; + r++; buf->ptr[w++] = buf->ptr[r]; } |