mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Fixed entities decoding in plain text renderings
This commit is contained in:
parent
037e083007
commit
9961ddc8b4
@ -226,7 +226,12 @@ WikiTextParseTree.prototype.compileSubTreePlain = function(tree) {
|
||||
this.pushString(utils.htmlEncode(tree[t].value));
|
||||
break;
|
||||
case "entity":
|
||||
this.pushString(tree[t].value);
|
||||
var c = utils.entityDecode(tree[t].value);
|
||||
if(c) {
|
||||
this.pushString(c);
|
||||
} else {
|
||||
this.pushString(tree[t].value);
|
||||
}
|
||||
break;
|
||||
case "br":
|
||||
case "img":
|
||||
|
Loading…
Reference in New Issue
Block a user