mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-10-09 17:41:42 +00:00
Restore compact call syntax (#9778)
* Initial commit * Oops broken test
This commit is contained in:
@@ -239,7 +239,7 @@ exports.parseMacroInvocationAsTransclusion = function(source,pos) {
|
||||
pos = token.end;
|
||||
// Check that the tag is terminated by a space or >>, and that there is a closing >> somewhere ahead
|
||||
if(!(source.charAt(pos) === ">" && source.charAt(pos + 1) === ">") ) {
|
||||
if(!$tw.utils.parseWhiteSpace(source,pos) || source.indexOf(">>",pos) === -1) {
|
||||
if(source.indexOf(">>",pos) === -1) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user