Comparison

plugins/mod_http_errors.lua @ 5776:bd0ff8ae98a8

Remove all trailing whitespace
author Florian Zeitz <florob@babelmonkeys.de>
date Fri, 09 Aug 2013 17:48:21 +0200
parent 5371:706206e191e8
child 7492:9a749cf8c1ba
comparison
equal deleted inserted replaced
5775:a6c2b8933507 5776:bd0ff8ae98a8
51 ["'"] = "&apos;", ["\""] = "&quot;", ["\n"] = "<br/>", 51 ["'"] = "&apos;", ["\""] = "&quot;", ["\n"] = "<br/>",
52 }; 52 };
53 53
54 local function tohtml(plain) 54 local function tohtml(plain)
55 return (plain:gsub("[<>&'\"\n]", entities)); 55 return (plain:gsub("[<>&'\"\n]", entities));
56 56
57 end 57 end
58 58
59 local function get_page(code, extra) 59 local function get_page(code, extra)
60 local message = messages[code]; 60 local message = messages[code];
61 if always_serve or message then 61 if always_serve or message then