Problem with decoding < >

Problem with decoding


I have method in Java that generate html code for example


I use velocity to get variables and in my HTML i get output <strong>ID<strong> . Text is not strong, but I have result with tags. How to resolve this?

Have a read about HtmlFragment in Advanced HTML encoding. Does that help?

1 Like