Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Displaying ALL content with Composite.Xslt.Extensions.MarkupParser

$
0
0
Hi.
I'm in a situation where I need to show all Content from a News Item in the news list. Not just title,date and teaser.
I add this to the xslt: <xsl:value-of select="mp:ParseXhtmlBodyFragment(@Description)" /> together with the markup function in the functions tab.

The problem is that it strips ALL HTML tags from content(@Description) and only renders the text. If I have a link and an image, all that is rendered is the text inside the link

Example: <h1>Hi Everebody</h1><p>My sweet content</p> becomes to: Hi EverebodyMy sweet content

Is there any workaround to fix this?

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>