I\'m using .NET\'s SyndicationFeed to create RSS and ATOM feeds. Unfortunately, I need HTML content in the description element (the Content property of the SyndicationItem)
The shortest way to do this is:
.Content = SyndicationContent.CreateXhtmlContent("content]]>")
That will be outputted in the XML as
… content]]> …
Not an elegant solution, I admit, but it works properly – just tried on a project of mine.