From 06758183d3903d41de55294ce8d84de1cdb214c2 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Sun, 23 Apr 2023 12:21:11 +0100 Subject: [PATCH] Improve splash screen macro for rendering icons --- editions/tw5.com/tiddlers/system/$__SplashScreen.tid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editions/tw5.com/tiddlers/system/$__SplashScreen.tid b/editions/tw5.com/tiddlers/system/$__SplashScreen.tid index 9424bdd91..044b6446e 100644 --- a/editions/tw5.com/tiddlers/system/$__SplashScreen.tid +++ b/editions/tw5.com/tiddlers/system/$__SplashScreen.tid @@ -6,8 +6,8 @@ type: text/vnd.tiddlywiki \import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]] -\define show-icon(title) -<$wikify name="icon" text="{{$title$}}" output="html"> +\procedure show-icon(title) +<$wikify name="icon" text={{{ [addprefix[{{]addsuffix[}}]] }}} output="html"> <$text text=<<icon>>/> </$wikify> \end