mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-31 15:16:18 +00:00
68a7655396
Fixes #7428
20 lines
468 B
Plaintext
20 lines
468 B
Plaintext
title: CustomWidget/Slotted/Empty
|
|
description: Custom widget with empty slotted values
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
\widget $my.widget()
|
|
<$slot $name=ts-raw>the body is empty</$slot>
|
|
\end
|
|
|
|
#<$my.widget/>
|
|
#<$my.widget></$my.widget>
|
|
#<$my.widget>the body is not empty</$my.widget>
|
|
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<ol><li>the body is empty</li><li>the body is empty</li><li>the body is not empty</li></ol> |