diff --git a/src/protocol/nntp/response.c b/src/protocol/nntp/response.c index 77a0ecbd8..da3a462fb 100644 --- a/src/protocol/nntp/response.c +++ b/src/protocol/nntp/response.c @@ -235,7 +235,9 @@ add_nntp_html_start(struct string *html, struct connection *conn) continue; } - add_format_to_string(html, "%s: %s\n", entry, value); + add_format_to_string(html, "%s: ", entry); + add_html_to_string(html, value, strlen(value)); + add_char_to_string(html, '\n'); mem_free(value); mem_free(entry); }