Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!

Webapp special characters escaped in Javascript

Avatar

Level 3

Hi,

Every time we make some changes in a webapp and publish it, the special characters like '<' '>' or '&' are escaped inside the javascript tags.

This is no issue if these are escaped in plain html, but if they are escaped in a javascript condition inside <% %> tags, this condition will return an error and the webapp will crash.

Example :

<% if(recipient.@age > 18){ %>

is changed into

<% if(recipient.@age &gt; 18){ %>

we each time have to go back to the webapp page, change all those escaped characters back to their initial state and save the webapp again.

Can we avoid this by changing something to the encoding of those webpages? Is this a known issue?

Kind regards,

Xavier

0 Replies