Software /
code /
prosody-modules
Changeset
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 |
parents | 2979:9480ca61294d |
children | 2981:cdc29ed803f9 |
files | mod_conversejs/mod_conversejs.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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> ]]