mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Fix problem with field names containing special characters
The characters `> / ' " =` were causing problems. Thanks @ericshulman
This commit is contained in:
parent
16ebdff1cc
commit
5a6249894d
@ -13,7 +13,7 @@ $:/config/EditTemplateFields/Visibility/$(currentField)$
|
|||||||
\define new-field-inner()
|
\define new-field-inner()
|
||||||
<$reveal type="nomatch" text="" default=<<name>>>
|
<$reveal type="nomatch" text="" default=<<name>>>
|
||||||
<$button>
|
<$button>
|
||||||
<$action-sendmessage $message="tm-add-field" $(name)$=<<value>>/>
|
<$action-setfield $tiddler={{!!title}} $field=<<name>> $value=<<value>>/>
|
||||||
<$action-deletetiddler $tiddler="$:/temp/newfieldname"/>
|
<$action-deletetiddler $tiddler="$:/temp/newfieldname"/>
|
||||||
<$action-deletetiddler $tiddler="$:/temp/newfieldvalue"/>
|
<$action-deletetiddler $tiddler="$:/temp/newfieldvalue"/>
|
||||||
<<lingo Fields/Add/Button>>
|
<<lingo Fields/Add/Button>>
|
||||||
|
Loading…
Reference in New Issue
Block a user