summaryrefslogtreecommitdiff
path: root/xmlhelp/util/idxcontent.xsl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-09-05 12:30:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-05 12:30:45 +0100
commitc96e2c238f8fd3a78773e29ced11ddaa9e9d783f (patch)
tree93fe798ebfed92c799917d342c0a09816d5c3fc2 /xmlhelp/util/idxcontent.xsl
parenta05357ab69712bec53c2d8d17efbbf25907ff9b8 (diff)
add superscript and subscript support to enable removing odd 1^st construct
so we can get rid of the confusing 1^st help text suggestion Change-Id: I38fea2c15f6764bd64aaebe2a41935149f62b9c5
Diffstat (limited to 'xmlhelp/util/idxcontent.xsl')
-rw-r--r--xmlhelp/util/idxcontent.xsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/xmlhelp/util/idxcontent.xsl b/xmlhelp/util/idxcontent.xsl
index aa371d7f9255..cfc16ea7e6a6 100644
--- a/xmlhelp/util/idxcontent.xsl
+++ b/xmlhelp/util/idxcontent.xsl
@@ -67,6 +67,16 @@
<xsl:text>&#xA;</xsl:text>
</xsl:template>
+<xsl:template match="sub">
+ <xsl:apply-templates/>
+ <xsl:text>&#xA;</xsl:text>
+</xsl:template>
+
+<xsl:template match="sup">
+ <xsl:apply-templates/>
+ <xsl:text>&#xA;</xsl:text>
+</xsl:template>
+
<xsl:template match="paragraph">
<xsl:value-of select="."/>
<xsl:text>&#xA;</xsl:text>