diff options
Diffstat (limited to 'src/utf8.c')
-rw-r--r-- | src/utf8.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -134,14 +134,12 @@ void utf8proc_detab(cmark_strbuf *ob, const uint8_t *line, bufsize_t size) break; } i += charlen; - } - else if (line[i] == '\0') { + } else if (line[i] == '\0') { // ASCII NUL is technically valid but rejected // for security reasons. charlen = 1; break; - } - else { + } else { i++; } |