diff options
-rw-r--r-- | render/html_redraw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c index 467f09bd4..d84014496 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -1779,6 +1779,8 @@ bool html_redraw_text_decoration_inline(struct box *box, int x, int y, for (c = box->next; c && c != box->inline_end; c = c->next) { + if (c->type != BOX_TEXT) + continue; if (!plot.line((x + c->x) * scale, (y + c->y + c->height * ratio) * scale, (x + c->x + c->width) * scale, |