Hello all So at my java code there is a line with information which has quotes and should look like this:
data: [ ['Value_name', 12.81], ['Value_name2', 11.55], ['Value_name3', 13.50] ]
And at widget page I do it so:
data: [ <!--{$data|escape:'quotes'}--> ],
and I put the values at wiki pages like this:
{{#widget:Widget_name |data = ['Value_name', 12.81], ['Value_name2', 11.55], ['Value_name3', 13.50] }}
And result in HTML look like this:
data: [ [\'Value_name\', 12.81], [\'Value_name2\', 11.55], [\'Value_name3\', 13.50] ]
How to escape the sign "\", because widget doesn't work in this case?