From 389df541843c43e6433d522f294f0264cf322641 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sat, 6 Jan 2024 09:33:40 +0100 Subject: [PATCH] Revert "[head] addcrlf". Refs #281 This reverts commit 90d4f17031b20dcac4e04541e09c07dd70e7efb4. --- src/document/html/parser/parse.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/document/html/parser/parse.c b/src/document/html/parser/parse.c index c04082d91..87eb645fd 100644 --- a/src/document/html/parser/parse.c +++ b/src/document/html/parser/parse.c @@ -1291,7 +1291,6 @@ xsp: if (he) { add_to_string(head, "Charset: "); add_to_string(head, he); - add_crlf_to_string(head); mem_free(he); } @@ -1301,7 +1300,6 @@ xsp: if (!he) goto se; add_to_string(head, he); - add_crlf_to_string(head); mem_free(he); /* FIXME (bug 784): cp is the terminal charset; @@ -1310,10 +1308,10 @@ xsp: if (c) { add_to_string(head, ": "); add_to_string(head, c); - add_crlf_to_string(head); - mem_free(c); + mem_free(c); } + add_crlf_to_string(head); goto se; }