Open kaspar-naaber opened 7 years ago
For example the following injection...
site.bindContentItemImgDropAreas('{{ "drag_picture_for_product_here" | lc }}');
..should be escaped like this:
site.bindContentItemImgDropAreas('{{ "drag_picture_for_product_here" | lc | escape }}');
If translation string contains single quotes it will break the JS code (problem exists in Nederlands language).