JavaScript macros receive strings. We expect numbers or Booleans in several places, notably in spell blocks (level, ritual). As-is we currently only consider empty fields false.
We should convert values from user input immediately before passing them to the macro implementation.
Note that even though JSON tiddlers can contain non-string values, TiddlyWiki converts them to strings before passing them to the macro.
JavaScript macros receive strings. We expect numbers or Booleans in several places, notably in spell blocks (
level
,ritual
). As-is we currently only consider empty fields false.We should convert values from user input immediately before passing them to the macro implementation.
Note that even though JSON tiddlers can contain non-string values, TiddlyWiki converts them to strings before passing them to the macro.