projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mod_http_errors: Add a newline after end of HTML
[prosody.git]
/
plugins
/
mod_http_errors.lua
diff --git
a/plugins/mod_http_errors.lua
b/plugins/mod_http_errors.lua
index 0c37e1044eed1ea5b3df81491ac7e1cbcc2e041f..17d357e546ac7cd9055b68417fb0ea8583a0c478 100644
(file)
--- 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 = {