diff options
-rw-r--r-- | src/xml.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -13,12 +13,7 @@ static void escape_xml(cmark_strbuf *dest, const unsigned char *source, bufsize_t length) { - if (source != NULL) { - if (length < 0) - length = strlen((char *)source); - - houdini_escape_html0(dest, source, length, 0); - } + houdini_escape_html0(dest, source, length, 0); } struct render_state { |