mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-01 02:16:50 +00:00
Fixes Text Parser being impacted by overrides to codeblock widget (#7844)
* fix: overriding codeblock widget should not impact text parser * fix: whitespace changes
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
title: Transclude/CustomWidget/CodeblockOverride-TextParser
|
||||
description: Test that overriding codeblock widget does not impact text parser
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
tags: [[$:/tags/wiki-test-spec]]
|
||||
|
||||
title: Output
|
||||
|
||||
\whitespace trim
|
||||
\widget $codeblock(code)
|
||||
<$transclude $variable="copy-to-clipboard" src=<<code>>/>
|
||||
<$genesis $type="$codeblock" $remappable="no" code=<<code>>/>
|
||||
\end
|
||||
|
||||
\procedure myvariable() hello
|
||||
|
||||
<$transclude $variable="myvariable" $type="text/plain" $output="text/plain"/>
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
<p>hello</p>
|
||||
Reference in New Issue
Block a user