Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #88 from andre-d/fix29

Escaping will not happen if the escape character is at the end
  • Loading branch information...
commit dde042f364b53c5f62cfda1c593280f0b7206081 2 parents 519e355 + b8be4a8
@vmg vmg authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/markdown.c
View
2  src/markdown.c
@@ -694,6 +694,8 @@ char_escape(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offs
rndr->cb.normal_text(ob, &work, rndr->opaque);
}
else bufputc(ob, data[1]);
+ } else if (size == 1) {
+ bufputc(ob, data[0]);
}
return 2;
Please sign in to comment.
Something went wrong with that request. Please try again.