classic-rocket icon indicating copy to clipboard operation
classic-rocket copied to clipboard

Error in l() function

Open moncef-essid opened this issue 3 years ago • 1 comments

Error in l() function

moncef-essid avatar Jun 21 '21 20:06 moncef-essid

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

lmeyer1 avatar Jun 25 '21 13:06 lmeyer1