Software /
code /
prosody-modules
Diff
mod_conversejs/mod_conversejs.lua @ 2980:ba6466fa6823
mod_conversejs: Specify a charset on script tag to prevent Browser from guessing
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 02 Apr 2018 16:15:24 +0200 |
parent | 2934:5c60df8b1a07 |
child | 2998:719b76ee0578 |
line wrap: on
line diff
--- a/mod_conversejs/mod_conversejs.lua Mon Apr 02 15:00:57 2018 +0100 +++ b/mod_conversejs/mod_conversejs.lua Mon Apr 02 16:15:24 2018 +0200 @@ -13,7 +13,7 @@ <!DOCTYPE html> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" media="screen" href="https://cdn.conversejs.org/css/%s.min.css"> -<script src="https://cdn.conversejs.org/dist/converse.min.js"></script> +<script charset="utf-8" src="https://cdn.conversejs.org/dist/converse.min.js"></script> <body><script>converse.initialize(%s);</script> ]]