diff options
author | Kim Alvefur <zash@zash.se> | 2016-07-12 10:39:04 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-07-12 10:39:04 +0200 |
commit | 135071b7364ef0a93be023c38060e07a73923ad9 (patch) | |
tree | fc6ec19255b065dcc4a505258925e35cb421699b /plugins | |
parent | 2d847c082f71f7a0e80d9c18f9ca5fec1096541a (diff) | |
download | prosody-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.lua | 3 |
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 = { |