summaryrefslogtreecommitdiff
path: root/src/houdini_html_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/houdini_html_u.c')
-rw-r--r--src/houdini_html_u.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/houdini_html_u.c b/src/houdini_html_u.c
index e57894d..2362b04 100644
--- a/src/houdini_html_u.c
+++ b/src/houdini_html_u.c
@@ -69,7 +69,7 @@ houdini_unescape_ent(cmark_strbuf *ob, const uint8_t *src, bufsize_t size)
if (entity != NULL) {
bufsize_t len = 0;
- while (len < 4 && entity->utf8[len] != '\0') {
+ while (len < 8 && entity->utf8[len] != '\0') {
++len;
}
cmark_strbuf_put(ob, entity->utf8, len);