Skip to content

Commit

Permalink
Fix shadow tiddler with code body displayed as missing (#8609)
Browse files Browse the repository at this point in the history
Fix problem introduced in #8604
  • Loading branch information
Leilei332 committed Sep 17, 2024
1 parent 8d80ff2 commit 73225d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/ui/ViewTemplate/body/code.tid
Original file line number Diff line number Diff line change
@@ -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]] }}} />
Expand Down

0 comments on commit 73225d0

Please sign in to comment.