Author: rgardler Date: Sat Jan 3 08:11:54 2015 New Revision: 1649174 URL: http://svn.apache.org/r1649174 Log: allow arbitrary Javascript in Xdoc for HTML rendering
Modified: forrest/trunk/main/webapp/skins/common/xslt/html/site-to-xhtml.xsl Modified: forrest/trunk/main/webapp/skins/common/xslt/html/site-to-xhtml.xsl URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/common/xslt/html/site-to-xhtml.xsl?rev=1649174&r1=1649173&r2=1649174&view=diff ============================================================================== --- forrest/trunk/main/webapp/skins/common/xslt/html/site-to-xhtml.xsl (original) +++ forrest/trunk/main/webapp/skins/common/xslt/html/site-to-xhtml.xsl Sat Jan 3 08:11:54 2015 @@ -344,6 +344,7 @@ along with all other "link" elements. -- <xsl:for-each select="//meta-data/script"> <xsl:element name="script"> <xsl:apply-templates select="@*"/> + <xsl:value-of disable-output-escaping="yes" select="text()"/> </xsl:element> </xsl:for-each> </xsl:template>