Same a this question, but my issue is different.
I have a string with and & and ' that displaying their reference codes on the webpage. I need to get it to show the original characters, not the codes.
AntiXssEncoder.HtmlEncode("Mike's & Sallies Shop", true)
Output:
Mike's & Sallies Shop
For others who might have this problem, I found Decoding the string to work. My new code is below:
Output is:
EDIT: and even easier solution: