mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-06 10:33:00 +00:00
Added HTML decode of tiddler text fields when reading TiddlyWiki files
This commit is contained in:
@@ -22,6 +22,7 @@ tiddlyWikiInput.parseTiddlyWiki = function(tiddlywikidoc) {
|
|||||||
while(match && startPos < storeAreaPos[1]) {
|
while(match && startPos < storeAreaPos[1]) {
|
||||||
var endPos = endOfDivRegExp.lastIndex;
|
var endPos = endOfDivRegExp.lastIndex;
|
||||||
var fields = tiddlerInput.parseTiddlerDiv(tiddlywikidoc.substring(startPos,endPos));
|
var fields = tiddlerInput.parseTiddlerDiv(tiddlywikidoc.substring(startPos,endPos));
|
||||||
|
fields.text = utils.htmlDecode(fields.text);
|
||||||
results.push(fields);
|
results.push(fields);
|
||||||
startPos = endPos;
|
startPos = endPos;
|
||||||
match = endOfDivRegExp.exec(tiddlywikidoc);
|
match = endOfDivRegExp.exec(tiddlywikidoc);
|
||||||
|
|||||||
Reference in New Issue
Block a user