- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 17 Sep 2012 10:14:46 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt
In directory hutz:/tmp/cvs-serv26181/tools/xslt
Modified Files:
verbatim.xsl
Log Message:
Trying to fix html5 example output - more in Prague probably
Index: verbatim.xsl
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt/verbatim.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- verbatim.xsl 16 Sep 2012 11:22:19 -0000 1.7
+++ verbatim.xsl 17 Sep 2012 10:14:44 -0000 1.8
@@ -379,7 +379,9 @@
<xsl:otherwise>
<xsl:choose>
<xsl:when test="not(ancestor::html)"><xsl:text>/></xsl:text></xsl:when>
- <xsl:otherwise><xsl:text>></</xsl:text><xsl:value-of select="name()"/><xsl:text>></xsl:text></xsl:otherwise></xsl:choose>
+ <xsl:otherwise><xsl:choose>
+ <xsl:when test="self::area or self::base or self::br or self::col or self::command or self::embed or self::hr or self::img or self::input or self::keygen or self::link or self::meta or self::param or self::source or self::track or self::wbr"><xsl:text>></xsl:text></xsl:when>
+ <xsl:otherwise><xsl:text>></</xsl:text><xsl:value-of select="name()"/><xsl:text>></xsl:text></xsl:otherwise></xsl:choose></xsl:otherwise></xsl:choose>
<xsl:value-of disable-output-escaping="yes" select="$endBold"/>
</xsl:otherwise>
</xsl:choose>
Received on Monday, 17 September 2012 10:14:47 UTC