1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-10 20:09:57 +00:00

Fix shadow tiddler with code body displayed as missing (#8609)

Fix problem introduced in #8604
This commit is contained in:
Leilei332 2024-09-17 14:52:46 +08:00 committed by GitHub
parent 8d80ff297c
commit 73225d09d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
title: $:/core/ui/ViewTemplate/body/code
<%if [<currentTiddler>is[missing]] %>
<%if [<currentTiddler>is[missing]] :and[!is[shadow]] %>
<$transclude tiddler="$:/language/MissingTiddler/Hint"/>
<%else%>
<$transclude $variable="copy-to-clipboard-above-right" src={{{ [<currentTiddler>get[text]] }}} />