aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit135071b7364ef0a93be023c38060e07a73923ad9 (patch)
treefc6ec19255b065dcc4a505258925e35cb421699b /plugins
parent2d847c082f71f7a0e80d9c18f9ca5fec1096541a (diff)
downloadprosody-135071b7364ef0a93be023c38060e07a73923ad9.tar.gz
prosody-135071b7364ef0a93be023c38060e07a73923ad9.zip
mod_http_errors: Add a newline after end of HTML
Diffstat (limited to 'plugins')
-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 = {