aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-07-12 10:39:04 +0200
committerKim Alvefur <zash@zash.se>2016-07-12 10:39:04 +0200
commit83227502e7e6615da7ec14454f75bb4c3e9e4171 (patch)
treefc6ec19255b065dcc4a505258925e35cb421699b
parent1e1c4c0cb66e124cd8a4b1a6d42539ba1e020f89 (diff)
downloadprosody-83227502e7e6615da7ec14454f75bb4c3e9e4171.tar.gz
prosody-83227502e7e6615da7ec14454f75bb4c3e9e4171.zip
mod_http_errors: Add a newline after end of HTML
-rw-r--r--plugins/mod_http_errors.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_http_errors.lua b/plugins/mod_http_errors.lua
index 0c37e104..17d357e5 100644
--- a/plugins/mod_http_errors.lua
+++ b/plugins/mod_http_errors.lua
@@ -43,7 +43,8 @@ local html = [[
<p>$message</p>
<p>$extra</p>
</body>
-</html>]];
+</html>
+]];
html = html:gsub("%s%s+", "");
local entities = {