1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-05-18 11:22:18 +00:00

Revert "fix: limit macro call parser to need >> to work, prevent > in regex"

This reverts commit f96b062902.
This commit is contained in:
lin onetwo
2026-04-17 04:22:52 +08:00
parent c46deea42a
commit 075f7cc282
+1 -1
View File
@@ -327,7 +327,7 @@ exports.parseMacroParameterAsAttribute = function(source,pos) {
// Define our regexps
var reAttributeName = /([^\/\s>"'`=:]+)/y,
reStrictIdentifier = /^[A-Za-z0-9\-_]+$/,
reUnquotedAttribute = /(?!<<)((?:(?:>(?!>))|[^\s>"'])+)/y,
reUnquotedAttribute = /((?:(?:>(?!>))|[^\s>"'])+)/y,
reFilteredValue = /\{\{\{([\S\s]+?)\}\}\}/y,
reIndirectValue = /\{\{([^\}]+)\}\}/y,
reSubstitutedValue = /(?:```([\s\S]*?)```|`([^`]|[\S\s]*?)`)/y;