html - Umbraco quotation marks -


i have problem when try print out tinymce in umbraco xslt renders fine puts quotation marks around it. can why?

image of code

<?xml version="1.0" encoding="utf-8"?> <!doctype xsl:stylesheet [ <!entity nbsp "&#x00a0;"> ]> <xsl:stylesheet  version="1.0"  xmlns:xsl="http://www.w3.org/1999/xsl/transform"  xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:umbraco.library="urn:umbraco.library" xmlns:exslt.exsltcommon="urn:exslt.exsltcommon" xmlns:exslt.exsltdatesandtimes="urn:exslt.exsltdatesandtimes" xmlns:exslt.exsltmath="urn:exslt.exsltmath" xmlns:exslt.exsltregularexpressions="urn:exslt.exsltregularexpressions" xmlns:exslt.exsltstrings="urn:exslt.exsltstrings" xmlns:exslt.exsltsets="urn:exslt.exsltsets" xmlns:examine="urn:examine" xmlns:ucomponents.cms="urn:ucomponents.cms" xmlns:ucomponents.dates="urn:ucomponents.dates" xmlns:ucomponents.email="urn:ucomponents.email" xmlns:ucomponents.io="urn:ucomponents.io" xmlns:ucomponents.media="urn:ucomponents.media" xmlns:ucomponents.members="urn:ucomponents.members" xmlns:ucomponents.nodes="urn:ucomponents.nodes" xmlns:ucomponents.random="urn:ucomponents.random" xmlns:ucomponents.request="urn:ucomponents.request" xmlns:ucomponents.search="urn:ucomponents.search" xmlns:ucomponents.strings="urn:ucomponents.strings" xmlns:ucomponents.urls="urn:ucomponents.urls" xmlns:ucomponents.xml="urn:ucomponents.xml"  exclude-result-prefixes="msxml umbraco.library exslt.exsltcommon exslt.exsltdatesandtimes exslt.exsltmath exslt.exsltregularexpressions exslt.exsltstrings exslt.exsltsets examine ucomponents.cms ucomponents.dates ucomponents.email ucomponents.io ucomponents.media ucomponents.members ucomponents.nodes ucomponents.random ucomponents.request ucomponents.search ucomponents.strings ucomponents.urls ucomponents.xml ">   <xsl:output method="xml" omit-xml-declaration="yes"/>  <xsl:param name="currentpage"/>  <xsl:template match="/">  <xsl:for-each select="$currentpage/forsidebokse/widgets/*"> <h1><xsl:value-of select="./overskrift"/></h1> <div><p><xsl:value-of select="./broed" /></p></div> </xsl:for-each>  </xsl:template>  </xsl:stylesheet> 

thanks

actually don't think putting quotes round it, that's how browser showing rendered value in code view.

what happening xslt outputting value encoded string instead of unencoded html. need add attribute disable-output-escaping="yes" , outer p tag:

<div><xsl:value-of select="./broed" disable-output-escaping="yes" /></div> 

Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -