nest quote matching between { }
Posted: 19 May 2016 21:31
Example:
foo = "{variable} is {if (condition) "granted" else "denied"}";
doesn't pass editor syntax check. Replacing quotes within { } against ticks (single quotes, ') helps, but I believe that syntax check should be smart enough to recognize the new context of double quotes between curly brackets.
foo = "{variable} is {if (condition) "granted" else "denied"}";
doesn't pass editor syntax check. Replacing quotes within { } against ticks (single quotes, ') helps, but I believe that syntax check should be smart enough to recognize the new context of double quotes between curly brackets.