Can you do HtmlDecode & HtmlEncode in Silverlight?
-
03-07-2019 - |
Question
So since System.Web
& HttpContext
isn't available in Silverlight is there a way to do HtmlDecode
& HtmlEncode
inside a Silverlight app without some horrendous Regex?
Solution
System.Windows.Browser has an HttpUtility class with HtmlEncode and HtmlDecode methods.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow