diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c index afd482c8d..9d908cf36 100644 --- a/src/document/html/renderer.c +++ b/src/document/html/renderer.c @@ -1430,6 +1430,8 @@ process_link(struct html_context *html_context, enum link_state link_state, for (; cells > 0; cells--, point++, x++) #else + link->npoints += charslen; + for (; charslen > 0; charslen--, point++, x++) #endif /* CONFIG_UTF_8 */ {