I need to display data from a database containing strings like & or & When I try to display it through Html.Raw or Html.Encode, I have dublicates values, for example amp; for Html.Raw and also bad output for Html.Encode.
What should I do? I use Razor syntax.
Example line: Hello, my name is Junior & I hate & laquo; bugs & raquo; .
source share