1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Fix new journal here (#3189)

* fix new journal here if template contains a quote "

* typo
This commit is contained in:
Mario Pietsch 2018-04-02 20:42:26 +02:00 committed by Jeremy Ruston
parent 6401b5c886
commit e4660a8cc1

View File

@ -9,7 +9,7 @@ description: {{$:/language/Buttons/NewJournalHere/Hint}}
\end
\define journalButton()
<$button tooltip={{$:/language/Buttons/NewJournalHere/Hint}} aria-label={{$:/language/Buttons/NewJournalHere/Caption}} class=<<tv-config-toolbar-class>>>
<$action-sendmessage $message="tm-new-tiddler" title=<<now "$(journalTitleTemplate)$">> tags=<<journalButtonTags>>/>
<$action-sendmessage $message="tm-new-tiddler" title=<<now """$(journalTitleTemplate)$ """>> tags=<<journalButtonTags>>/>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/new-journal-button}}
</$list>