projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92d6e7a
)
mod_http_errors: Add a newline after end of HTML
author
Kim Alvefur
<zash@zash.se>
Tue, 12 Jul 2016 08:39:04 +0000
(10:39 +0200)
committer
Kim Alvefur
<zash@zash.se>
Tue, 12 Jul 2016 08:39:04 +0000
(10:39 +0200)
plugins/mod_http_errors.lua
patch
|
blob
|
history
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 = {