How to assign a string having ' using expr in <var> tag
Posted: Fri Nov 13, 2015 3:03 pm
I am getting error when executing below <var> statement. Error is due to ' in the word S'il
<var name="Verbiage3" expr="' S'il vous plait veuillez saisir les 16 numeros digitaux de votre carte suivis de diese '"/>
The String getting assigned is in French language which makes use of ' at many places.
I have tried using escape sequence for ' (' and ') but that doesn't seem to be working.
Exact error that I see in log is "missing ; before statement line 1 SyntaxError: missing ; before statement line 1"
How do I fix this error?
<var name="Verbiage3" expr="' S'il vous plait veuillez saisir les 16 numeros digitaux de votre carte suivis de diese '"/>
The String getting assigned is in French language which makes use of ' at many places.
I have tried using escape sequence for ' (' and ') but that doesn't seem to be working.
Exact error that I see in log is "missing ; before statement line 1 SyntaxError: missing ; before statement line 1"
How do I fix this error?