mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-07 02:26:19 +00:00
904e30a0e2
The old recursion marker approach was very slow, and didn't catch test cases like editions/test/tiddlers/tests/data/transclude/Recursion.tid
17 lines
385 B
Plaintext
17 lines
385 B
Plaintext
title: Transclude/Recursion
|
|
description: Transclusion recursion detection
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
\procedure recurse(a:0)
|
|
<$transclude $variable="recurse" a={{{ [<a>add[1]] }}}/>
|
|
\end
|
|
|
|
<<recurse>>
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p><span class="tc-error">Recursive transclusion error in transclude widget</span></p> |