mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-03-12 09:42:19 -07:00
* Fix: bug in multivalue default params * Enhance release notes for version 5.4.0 Updated GitHub links and contributors for release notes. * Add FunctionDefaultValues test for default parameters * Update function default values in FunctionDefaultValues.tid * Update #8972.tid * fix: correctly resolve default values for functions * Update #8972.tid
16 lines
No EOL
411 B
Text
16 lines
No EOL
411 B
Text
title: Functions/FunctionDefaultValues
|
|
description: Use defaults for missing parameters in functions in filters
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
\function .test(prefix:Default) [[ Content]addprefix<prefix>]
|
|
|
|
<$text text={{{ [.test[Special]] }}}/>,<$text text={{{ [.test[]] }}}/>
|
|
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>Special Content,Default Content</p> |