mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-29 16:37:11 +00:00
Add basic view-widget tests (#8632)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
title: Widgets/ViewWidget/Parameter/field-format-urlencoded
|
||||
description: Test view-widget parameters tiddler, field and format=*
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
tags: [[$:/tags/wiki-test-spec]]
|
||||
|
||||
title: input
|
||||
|
||||
Some text > "aaa"
|
||||
+
|
||||
title: Output
|
||||
|
||||
<$view tiddler="input" field="text" format="urlencoded"/>
|
||||
---
|
||||
<$view tiddler="input" field="text"/>
|
||||
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
<p>Some%20text%20%3E%20%22aaa%22
|
||||
—
|
||||
Some text > "aaa"
|
||||
</p>
|
||||
Reference in New Issue
Block a user