svn commit: r608151 - /lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl
[email protected] Wed, 02 Jan 2008 17:16:23 -0000
Newsgroups
gmane.comp.cms.lenya.cvs
Message-ID
<[email protected] >
Author: ragaller
Date: Wed Jan 2 09:16:21 2008
New Revision: 608151
URL: http://svn.apache.org/viewvc?rev=608151&view=rev
Log:
prettyprinting: leave textarea alone to avoid <textarea />
Modified:
lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl
Modified: lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl?rev=608151&r1=608150&r2=608151&view=diff
==============================================================================
--- lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl (original)
+++ lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl Wed Jan 2 09:16:21 2008
@@ -96,4 +96,11 @@
<xsl:template match="xhtml:script/node()">
<xsl:copy-of select="."/>
</xsl:template>
+
+<!--
+ prevent collapsing of <textarea> </textarea> to <textarea />
+-->
+ <xsl:template match="xhtml:textarea/node()">
+ <xsl:copy-of select="."/>
+ </xsl:template>
</xsl:stylesheet>