mod_http_errors: Add a newline after end of HTML
[prosody.git] / plugins / mod_http_errors.lua
index 2568ea80aa8a73f31d824acfcd9276d206ea1985..17d357e546ac7cd9055b68417fb0ea8583a0c478 100644 (file)
@@ -43,7 +43,8 @@ local html = [[
         <p>$message</p>
         <p>$extra</p>
 </body>
-</html>]];
+</html>
+]];
 html = html:gsub("%s%s+", "");
 
 local entities = {
@@ -53,7 +54,7 @@ local entities = {
 
 local function tohtml(plain)
        return (plain:gsub("[<>&'\"\n]", entities));
-       
+
 end
 
 local function get_page(code, extra)