White space control as default
Bob-586 opened this issue · 0 comments
Bob-586 commented
/* Force whitespace control to be used by switching tags from {%- to {%
* Also, will error out if you try {%-
* Need to figure out how to turn back on whitespaces with {%@ errors! not important...
* Sorry, not an REGEX guy... wanted to use plus sign but it was escaping oddly even with an slash
*/
\Liquid\Liquid::set('TAG_START', '(?:{%@)|\s*{%');
\Liquid\Liquid::set('TAG_END', '(?:@%}|%}\s*)');