mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-08 19:09:57 +00:00
284669544b
* fix: trim whitespace when importing variables * feat: added tests for importing variables
22 lines
442 B
Plaintext
22 lines
442 B
Plaintext
title: ImportVariables/WithSetWidgets2
|
|
description: Import variables defined with a set widget without whitespace pragma
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
\import Definitions
|
|
<$text text=<<one>>/>,
|
|
<$text text=<<two>>/>
|
|
+
|
|
title: Definitions
|
|
|
|
<$set name="one" value="elephant">
|
|
<$set name="two" value="giraffe">
|
|
</$set>
|
|
</$set>
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>elephant,giraffe</p> |