Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you do HtmlDecode & HtmlEncode in Silverlight?

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?

like image 888
Glenn Slaven Avatar asked May 05 '09 00:05

Glenn Slaven


1 Answers

System.Windows.Browser has an HttpUtility class with HtmlEncode and HtmlDecode methods.

like image 105
Rex M Avatar answered Sep 30 '22 19:09

Rex M