Software /
code /
prosody-modules
Changeset
3038:48cbf6a3f112
mod_conversejs: Make HTML more well-formed
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 07 Apr 2018 14:32:50 +0200 |
parents | 3037:bae7b0a002ef |
children | 3039:df77580be2f0 |
files | mod_conversejs/mod_conversejs.lua |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_conversejs/mod_conversejs.lua Thu May 24 13:25:13 2018 +0100 +++ b/mod_conversejs/mod_conversejs.lua Sat Apr 07 14:32:50 2018 +0200 @@ -11,10 +11,14 @@ local template = [[ <!DOCTYPE html> +<html> +<head> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" media="screen" href="https://cdn.conversejs.org/css/%s.min.css"> <script charset="utf-8" src="https://cdn.conversejs.org/dist/converse.min.js"></script> -<body><script>converse.initialize(%s);</script> +</head> +<body><script>converse.initialize(%s);</script></body> +</html> ]] local more_options = module:get_option("conversejs_options");