diff --git a/src/proto_http.c b/src/proto_http.c
index 164e31c2b8..d0eeb564de 100644
--- a/src/proto_http.c
+++ b/src/proto_http.c
@@ -3178,7 +3178,7 @@ int produce_content_stats(struct session *s)
"th,td {"
" font-size: 0.8em;"
" align: center;"
- "}"
+ "}\n"
"h1 {"
" font-size: xx-large;"
" margin-bottom: 0.5em;"
@@ -3231,8 +3231,8 @@ int produce_content_stats(struct session *s)
"table.lgd { border-collapse: collapse; border-width: 1px; border-style: none none none solid; border-color: black;}\n"
"table.lgd td { border-width: 1px; border-style: solid solid solid solid; border-color: gray; padding: 2px;}\n"
"table.lgd td.noborder { border-style: none; padding: 2px; white-space: nowrap;}\n"
- "-->"
- "");
+ "-->\n"
+ "\n");
if (buffer_write_chunk(rep, &msg) != 0)
return 0;
@@ -3260,25 +3260,25 @@ int produce_content_stats(struct session *s)
"maxsock = %d
\n"
"maxconn = %d (current conns = %d)
\n"
"
active UP | " "backup UP | " - "||
active UP, going down | " "backup UP, going down | " - "||
active DOWN, going up | " "backup DOWN, going up | " - "||
active or backup DOWN | " "not checked | " "