mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-02-27 10:30:51 -08:00
Fix problem with transcluding non-string fields
Transcluding date or list fields (like `modified` or `tags`) was crashing.
This commit is contained in:
parent
2e188a48f4
commit
6a71b399b0
1 changed files with 1 additions and 1 deletions
|
|
@ -757,7 +757,7 @@ exports.parseTextReference = function(title,field,index,options) {
|
|||
if(text === undefined) {
|
||||
text = "";
|
||||
}
|
||||
return this.parseText("text/vnd.tiddlywiki",text,options);
|
||||
return this.parseText("text/vnd.tiddlywiki",text.toString(),options);
|
||||
} else if(index) {
|
||||
text = this.extractTiddlerDataItem(title,index,"");
|
||||
return this.parseText("text/vnd.tiddlywiki",text,options);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue