1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

Fix problem with UTF-8 encoding of HTML tiddelrs

Fixes #1037
This commit is contained in:
Jermolene 2014-11-03 16:20:49 +00:00
parent cea963420c
commit 5599f9f933

View File

@ -17,7 +17,7 @@ var HtmlParser = function(type,text,options) {
if(options._canonical_uri) {
src = options._canonical_uri;
} else if(text) {
src = "data:text/html," + encodeURIComponent(text);
src = "data:text/html;charset=utf-8," + encodeURIComponent(text);
}
this.tree = [{
type: "element",