You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ra...@apache.org on 2008/01/02 18:16:23 UTC

svn commit: r608151 - /lenya/trunk/src/modules/prettyprinting/xslt/xml2nicexml.xsl

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>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org