mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 19:39:57 +00:00
79b20bdaa8
Previously we were wrapping the body in an implicit `<$fill $name="ts-body">` widget
26 lines
672 B
Plaintext
26 lines
672 B
Plaintext
title: Transclude/CustomWidget/Fail
|
|
description: Custom widget failed definition
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
<!-- Attempt to define the <$non-existent-widget> widget by defining a transcludable variable with that name -->
|
|
\widget $non-existent-widget(one:'Jaguar')
|
|
\whitespace trim
|
|
<$text text=<<one>>/>
|
|
<$slot $name="ts-raw">
|
|
Whale
|
|
</$slot>
|
|
\end
|
|
<$non-existent-widget one="Dingo">
|
|
Crocodile
|
|
</$non-existent-widget>
|
|
<$non-existent-widget one="BumbleBee">
|
|
Squirrel
|
|
</$non-existent-widget>
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>Undefined widget 'non-existent-widget'Undefined widget 'non-existent-widget'</p> |