TiddlyWiki5/core/modules
lin onetwo d977b0ac5c
Fix #9788: only allow colon-separator named params with strict identifiers (#9791)
The reAttributeName regexp in parseMacroParameterAsAttribute was too
permissive, allowing single-character names like dollar sign followed by
colon. This caused values such as dollar-colon-slash-plugins-foo to be
mis-parsed as a named parameter dollar with value slash-plugins-foo.

Fix: when the separator is colon (legacy syntax), require the parameter
name to match [A-Za-z0-9-_]+ (same as the historic parseMacroParameter).
When the separator is equals (new-style dynamic parameters from #9055),
the wide character set is preserved so that names like double-dollar-one
continue to work.

Adds regression test Transclude/Procedures/Dollar/Param.
2026-04-10 11:06:07 +02:00
..
editor Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
filterrunprefixes Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
filters Revert "Add locale support for sort operator (#9400)" (#9702) 2026-03-01 08:02:18 +01:00
indexers Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
info Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
macros Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
parsers Fix #9788: only allow colon-separator named params with strict identifiers (#9791) 2026-04-10 11:06:07 +02:00
relinkers Moved bulkops relink behavior into dedicated module (#9703) 2026-03-28 12:06:27 +00:00
savers Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
startup Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
storyviews fix: zoomin storyview should not remove CSS properties when element is already removed (#9686) 2026-02-23 08:59:32 +01:00
upgraders Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
utils fix: zoomin storyview should not remove CSS properties when element is already removed (#9686) 2026-02-23 08:59:32 +01:00
widgets Fixes MVV's so that getVariableInfo returns undefined (#9765) 2026-03-28 12:04:29 +00:00
background-actions.js Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
config.js Revert "Fix 8166 html tag validation (#8176)" (#9374) 2025-10-29 22:01:03 +01:00
deserializers.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
filter-tracker.js Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
filters.js Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
keyboard.js Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
language.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
pluginswitcher.js Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
saver-handler.js Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
story.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
syncer.js Fixes ESLint errors (#9668) 2026-02-20 08:38:42 +00:00
tiddler.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
wiki-bulkops.js Moved bulkops relink behavior into dedicated module (#9703) 2026-03-28 12:06:27 +00:00
wiki.js Revert "Add locale support for sort operator (#9400)" (#9702) 2026-03-01 08:02:18 +01:00