mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-07 02:26:19 +00:00
28 lines
567 B
Plaintext
28 lines
567 B
Plaintext
title: UnwantedParagraphs
|
|
description: Unwanted paragraph elements when using slot/fill
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
\procedure hello
|
|
\whitespace trim
|
|
<div class="frame">
|
|
<$slot $name="greeting"/>
|
|
</div>
|
|
\end
|
|
|
|
<div class="tc-outer">
|
|
<$transclude $variable="hello" mode="inline">
|
|
<$fill $name="greeting">
|
|
<h1>A heading</h1>
|
|
<p>A paragraph</p>
|
|
</$fill>
|
|
</$transclude>
|
|
</div>
|
|
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p><div class="tc-outer"><div class="frame"><h1>A heading</h1><p>A paragraph</p></div></div></p> |