Tiddlywiki5: [Bug] Pipe characters ruin triple brace evaluation

Created on 17 Feb 2020  路  2Comments  路  Source: Jermolene/TiddlyWiki5

In https://tiddlywiki.com/prerelease/#splitregexp%20Operator

...we find the example that reads

[[nobody, really; wants; to see -- all this \punctuation]splitregexp[,|;|-|\\]join[...]]

This works in a <$list> but not using {{{ }}}.

It appears to be the pipe characters ruining it.

Most helpful comment

i see Warning: avoid using any of the characters | [ ] { } in tiddler titles

with version 5.1.22-prerelease

i guess this is why ?

https://github.com/Jermolene/TiddlyWiki5/search?q=Warning%3A+avoid+using+any+of+the+characters


https://github.com/Jermolene/TiddlyWiki5/commit/12661f5cdaca19135801ca9b47449e0eeadfb0c4#diff-7b69dae814543000ff932504227785e5

Add warning for bad characters when editing tiddler titles
Fixes #2351 ( tag (tiddler) titles containing pipe char "|" )

All 2 comments

i see Warning: avoid using any of the characters | [ ] { } in tiddler titles

with version 5.1.22-prerelease

i guess this is why ?

https://github.com/Jermolene/TiddlyWiki5/search?q=Warning%3A+avoid+using+any+of+the+characters


https://github.com/Jermolene/TiddlyWiki5/commit/12661f5cdaca19135801ca9b47449e0eeadfb0c4#diff-7b69dae814543000ff932504227785e5

Add warning for bad characters when editing tiddler titles
Fixes #2351 ( tag (tiddler) titles containing pipe char "|" )

The reason that the filtered transclusion syntax {{{...}}} sometimes breaks in the presence of vertical bars is that the vertical bar is parsed as the separator of a tooltip but is never subsequently used. See the discussion here

Was this page helpful?
0 / 5 - 0 ratings