zordius / lightncandy

An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ),
https://zordius.github.io/HandlebarsCookbook/
MIT License
608 stars 76 forks source link

Fix for #357/#297 including tests #358

Open tunnela opened 2 years ago

tunnela commented 2 years ago

Fixes at least #357, #281 and #295

tunnela commented 2 years ago

@zordius Not sure if this is the best possible fix to above issues, but it should prevent Parser from thinking that a "(" character inside quotes starts a new subexpression.