Fix problem with UTF-8 encoding of HTML tiddelrs

Fixes #1037
print-window-tiddler
Jermolene 2014-11-03 16:20:49 +00:00
rodzic cea963420c
commit 5599f9f933
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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",