Diff

mod_conversejs/mod_conversejs.lua @ 2664:5b97b04e9d1b

mod_conversejs: Include a <body> tag in HTML
author Kim Alvefur <zash@zash.se>
date Mon, 03 Apr 2017 16:15:15 +0200
parent 2658:b0f4014cb5b4
child 2694:38c66b58b470
line wrap: on
line diff
--- 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", {