I have text I am displaying in SIlverlight that is coming from a CMS that is used to store web content. There are fields in the cms like name and description that contain html tags and encoded characters.
What is the best way to convert/strip these from the text so they can be displayed in a silverlight textblock
I am leaning towards regex but I was wondering if there was a decoding class somewhere in the SL runtime that I could use to decode/convert (=>) things like this:
— => --
’ => '
=> space
<p> => cr/lf
</p> => cr/lf cr/lf
<br/> =>cr/lf