Conversion of & to &
Hi,
We are using HTL for component development.
The title field is populated dynamically and contains the character '&': example : Audio & Video.
When we "View page source" & is converted to & due to html encoding. example : Audio & Video
We want to avoid this encoding and & should be displayed as & itself.
context="unsafe" and context="scriptToken" avoids encoding and helps to resolve the issue, but these are not recommended and accepted by the client.
We have tried using StringUtils,encode(), StringUtils.escape() methods but it did not work as expected
Are there any other alternatives through which this can be achieved. Any pointers would help