mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-25 14:02:40 +00:00
Alter varCallInline content to alig with preceeding varDefBlock in inline definitions.
This was failing due to both labels having the extraneous spaces cleaned up but the variable label portion of the varCallInline did not, preventing them from being matched during variable resolution.
This commit is contained in:
@@ -735,7 +735,7 @@ function MarkedVariables() {
|
||||
varsQueue.push(
|
||||
{ type : 'varCallInline',
|
||||
varName : label,
|
||||
content : match[9]
|
||||
content : match[9].replace(/\s+/g, ' ').replace(/\[\s+/, '[').replace(/\s+\]/, ']')
|
||||
});
|
||||
}
|
||||
if(match[12]) { // Inline Call
|
||||
|
||||
Reference in New Issue
Block a user