From cb9816c78f25ecc8736cd97c11c839a4c18bcf76 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 29 Nov 2020 18:43:31 +0100 Subject: Fixed some things I'm currently working on a huge commit, but it doesn't work.. WAIT AND SEE! --- libtxt/html.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libtxt') diff --git a/libtxt/html.c b/libtxt/html.c index 794ef95..4e12555 100644 --- a/libtxt/html.c +++ b/libtxt/html.c @@ -199,6 +199,8 @@ static struct html_element *render_object(struct html_element *container, struct container->x_offset = 0; container->y_offset += 2; return container; + } else if (CMP(tag, "head") || CMP(tag, "meta") || CMP(tag, "title")) { + return container; } else { printf("UNKNOWN %s\n", tag); if (dom->content && strlen(dom->content) > 0) { -- cgit v1.2.3