Added HTML decode of tiddler text fields when reading TiddlyWiki files

This commit is contained in:
Jeremy Ruston 2011-11-26 11:43:14 +00:00
parent bc07764e40
commit 7e5309d2dd
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ tiddlyWikiInput.parseTiddlyWiki = function(tiddlywikidoc) {
while(match && startPos < storeAreaPos[1]) {
var endPos = endOfDivRegExp.lastIndex;
var fields = tiddlerInput.parseTiddlerDiv(tiddlywikidoc.substring(startPos,endPos));
fields.text = utils.htmlDecode(fields.text);
results.push(fields);
startPos = endPos;
match = endOfDivRegExp.exec(tiddlywikidoc);