[yelp-xsl] [db2html-inline] Make db:tag produce output identical to sgmltag
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] [db2html-inline] Make db:tag produce output identical to sgmltag
- Date: Fri, 21 May 2010 23:33:33 +0000 (UTC)
commit 9d5a033718fd8720b9a4c5e8eb243c0ac37f5fc6
Author: brian m. carlson <sandals crustytoothpaste ath cx>
Date: Mon Apr 5 19:28:31 2010 +0000
[db2html-inline] Make db:tag produce output identical to sgmltag
Signed-off-by: brian m. carlson <sandals crustytoothpaste ath cx>
xslt/docbook/html/db2html-inline.xsl | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/xslt/docbook/html/db2html-inline.xsl b/xslt/docbook/html/db2html-inline.xsl
index 8d28962..a438f48 100644
--- a/xslt/docbook/html/db2html-inline.xsl
+++ b/xslt/docbook/html/db2html-inline.xsl
@@ -1012,9 +1012,14 @@ FIXME
<xsl:with-param name="name-class">sgmltag</xsl:with-param>
<xsl:with-param name="class">
<xsl:text>code sgmltag</xsl:text>
- <xsl:if test="@class">
- <xsl:value-of select="concat(' sgmltag-', @class)"/>
- </xsl:if>
+ <xsl:choose>
+ <xsl:when test="@class = 'comment'">
+ <xsl:value-of select="' sgmltag-sgmlcomment'"/>
+ </xsl:when>
+ <xsl:when test="@class">
+ <xsl:value-of select="concat(' sgmltag-', @class)"/>
+ </xsl:when>
+ </xsl:choose>
</xsl:with-param>
<xsl:with-param name="ltr" select="true()"/>
</xsl:call-template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]