I've got an RSS feed that has rich text in it's feed (i.e. paragraph markup, links, etc.) and when the feed is displayed on my website, the markup is not being rendered.
I am using the Basic theme in SXA.
How do I fix this?
This component uses external source. The problem here is that raw value from the source is displayed instead of HTML.
To change the way external content is displayed follow these steps:
Website\Views\Feed\Feed.cshtml
<p class="feed-description">
@item.Description
</p>
<p class="feed-description">
@{
var description = new HtmlString(item.Description);
}
@description
</p>
Overwrite
. The problem should be fixed in the code so I would say you don't have worry about anything.
Commented
Nov 10, 2016 at 21:35