diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c
index b80e2d63..0108f8ba 100644
--- a/src/document/html/renderer.c
+++ b/src/document/html/renderer.c
@@ -507,7 +507,6 @@ good_char:
x++;
part->spaces[x] = 0;
part->char_width[x] = 0;
- data = utf8_to_unicode(&chars, end);
}
if (data == UCS_NO_CHAR) {
/* this is at the end only */