Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I have pulled through the recent posts to the hompage and they're styled, only thing is the style tags are showing up as well on the homepage, e.g. <p><style color> etc.
Can't seem to shift them?
Could be that you need to add @Html.Raw(THE THING YOU'RE OUTPUTTING).
Thanks Anthony.
Changing : <span class="entryContent">@n.GetProperty("uBlogsyContentBody").Value</span>
to ; <span class="entryContent">@Html.Raw(@n.GetProperty("uBlogsyContentBody").Value)</span>
Worked wonders!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Style tags showing in content of post on homepage
Hi,
I have pulled through the recent posts to the hompage and they're styled, only thing is the style tags are showing up as well on the homepage, e.g. <p><style color> etc.
Can't seem to shift them?
Could be that you need to add @Html.Raw(THE THING YOU'RE OUTPUTTING).
Thanks Anthony.
Changing : <span class="entryContent">@n.GetProperty("uBlogsyContentBody").Value</span>
to ; <span class="entryContent">@Html.Raw(@n.GetProperty("uBlogsyContentBody").Value)</span>
Worked wonders!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.