From 6fa81feebad8a15d680bd88b77e61d26618772be Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 21 Dec 2023 10:36:29 +0000 Subject: [PATCH] Restore comma before skinny tiddlers (#7897) * Restore comma before skinny tiddlers Fixes #7896 * Fix problem that showed up in CI tests --- core/templates/html-json-skinny-tiddler.tid | 2 +- core/templates/store.area.template.html.tid | 8 +++----- plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/core/templates/html-json-skinny-tiddler.tid b/core/templates/html-json-skinny-tiddler.tid index 6f5b7ff35..6402bcee5 100644 --- a/core/templates/html-json-skinny-tiddler.tid +++ b/core/templates/html-json-skinny-tiddler.tid @@ -1,3 +1,3 @@ title: $:/core/templates/html-json-skinny-tiddler -<$jsontiddler tiddler=<> exclude="text" escapeUnsafeScriptChars="yes"/> +<$text text=<>/><$jsontiddler tiddler=<> exclude="text" escapeUnsafeScriptChars="yes"/> diff --git a/core/templates/store.area.template.html.tid b/core/templates/store.area.template.html.tid index b148a2ff3..2dc115266 100644 --- a/core/templates/store.area.template.html.tid +++ b/core/templates/store.area.template.html.tid @@ -9,9 +9,7 @@ title: $:/core/templates/store.area.template.html <$let newline={{{ [charcode[10]] }}} join=`,$(newline)$`> <$text text=<>/> <$list filter=<> join=<> template="$:/core/templates/html-json-tiddler"/> - <$vars numTiddlers={{{ [subfiltercount[]] }}}> - <$list filter={{{ [] }}} join=<> template="$:/core/templates/html-json-skinny-tiddler"/> - + <$list filter="[subfilter]" template="$:/core/templates/html-json-skinny-tiddler"/> <$text text=<>/> `]` @@ -22,8 +20,8 @@ title: $:/core/templates/store.area.template.html <$reveal type="nomatch" state="$:/isEncrypted" text="yes"> `` diff --git a/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid b/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid index b7329c265..ce953fbf2 100644 --- a/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid +++ b/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid @@ -1,3 +1,3 @@ title: $:/core/templates/html-json-skinny-tiddler -<$jsontiddler tiddler=<> exclude="text" escapeUnsafeScriptChars="yes" $revision=<> $bag="default" $_is_skinny=""/> +<$text text=<>/><$jsontiddler tiddler=<> exclude="text" escapeUnsafeScriptChars="yes" $revision=<> $bag="default" $_is_skinny=""/>