Diff

mod_http_muc_log/mod_http_muc_log.lua @ 3283:97b8b07ae1d1

mod_http_muc_log: Close unclosed <p/> tag in template.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 25 Aug 2018 17:39:41 +0200
parent 3066:cefc375d0929
child 3485:181561d0aae5
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua	Sat Aug 25 17:39:01 2018 +0200
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Sat Aug 25 17:39:41 2018 +0200
@@ -39,7 +39,7 @@
 	end
 	if not template then
 		module:log("error", "Error loading template: %s", err);
-		template = render("<h1>mod_{module} could not read the template</h1><p>Tried to open <b>{filename}</b><pre>{error}</pre>",
+		template = render("<h1>mod_{module} could not read the template</h1><p>Tried to open <b>{filename}</b></p><pre>{error}</pre>",
 			{ module = module.name, filename = template_filename, error = err });
 	end
 end