classic-rocket
classic-rocket copied to clipboard
Error in l() function
Error in l() function
Hello, can you please explain ? I fixed this in #237 the other way around.
'{l s='Sorry, your review appreciation cannot be sent.' d='Modules.Productcomments.Shop' js=1}';
as you suggest does not work if the translated string contains an apostrophe.
'{l|escape:'javascript' s='Sorry, your review appreciation cannot be sent.' d='Modules.Productcomments.Shop'}';
on the other hand correctly escapes apostrophes.
I'm working with PS 1.7.7