mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-03 22:26:43 +00:00
Fix up the tests
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
title: Operators/Colour/ColourFunctionDiv
|
||||
description: Simple colour function applied to a DIV
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
tags: [[$:/tags/wiki-test-spec]]
|
||||
|
||||
title: Output
|
||||
|
||||
\parsermode inline
|
||||
\import [subfilter{$:/core/config/GlobalImportFilter}]
|
||||
<div style.background=<<colour page-background>>>
|
||||
Something
|
||||
</div>
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
<div style="background:#f4f4f4;">
|
||||
Something
|
||||
</div>
|
||||
@@ -0,0 +1,18 @@
|
||||
title: Operators/Colour/ColourFunctionSimple
|
||||
description: Simple colour function
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
tags: [[$:/tags/wiki-test-spec]]
|
||||
|
||||
title: Output
|
||||
|
||||
\parsermode inline
|
||||
\import [subfilter{$:/core/config/GlobalImportFilter}]
|
||||
<$text text={{{ [subfilter{Filter}] }}}/>
|
||||
+
|
||||
title: Filter
|
||||
|
||||
[function[colour],[background]]
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
#ffffff
|
||||
Reference in New Issue
Block a user