mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Improve handling of fieldmodules lacking a stringify method
This commit is contained in:
parent
0be6bf84d1
commit
8471a2217a
@ -28,7 +28,7 @@ exports.getFieldString = function(field) {
|
||||
}
|
||||
// Parse the field with the associated module (if any)
|
||||
var fieldModule = $tw.Tiddler.fieldModules[field];
|
||||
if(fieldModule) {
|
||||
if(fieldModule && fieldModule.stringify) {
|
||||
return fieldModule.stringify.call(this,value);
|
||||
} else {
|
||||
return value.toString();
|
||||
|
Loading…
Reference in New Issue
Block a user