I have been trying to decode a string like this:
javascript:alert('XSS')
into:
javascript:alert('XSS')
in c# but nothing works. I have tried using the AntiXss library to decode the string but it returns me the exact same value entered. Could someone please assist me? I am trying to sanitize html coming in c# to do anti xss injection.