mod_conversejs: Include a <body> tag in HTML

Mon, 03 Apr 2017 16:15:15 +0200

author
Kim Alvefur <zash@zash.se>
date
Mon, 03 Apr 2017 16:15:15 +0200
changeset 2664
5b97b04e9d1b
parent 2663
6e8c3fc48237
child 2665
cfb7936ff61f

mod_conversejs: Include a <body> tag in HTML

mod_conversejs/mod_conversejs.lua file | annotate | diff | comparison | revisions
--- a/mod_conversejs/mod_conversejs.lua	Sat Apr 01 17:39:39 2017 +0200
+++ b/mod_conversejs/mod_conversejs.lua	Mon Apr 03 16:15:15 2017 +0200
@@ -14,7 +14,7 @@
 <meta charset="utf-8">
 <link rel="stylesheet" type="text/css" media="screen" href="https://cdn.conversejs.org/css/converse.min.css">
 <script src="https://cdn.conversejs.org/dist/converse.min.js"></script>
-<script>converse.initialize(%s);</script>
+<body><script>converse.initialize(%s);</script>
 ]]
 
 module:provides("http", {

mercurial