summaryrefslogtreecommitdiff
path: root/xmlhelp/util/main_transform.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/util/main_transform.xsl')
-rw-r--r--xmlhelp/util/main_transform.xsl16
1 files changed, 16 insertions, 0 deletions
diff --git a/xmlhelp/util/main_transform.xsl b/xmlhelp/util/main_transform.xsl
index 4385cf496e1d..f32cc9d647fd 100644
--- a/xmlhelp/util/main_transform.xsl
+++ b/xmlhelp/util/main_transform.xsl
@@ -250,6 +250,22 @@
<span class="emph"><xsl:apply-templates /></span>
</xsl:template>
+<!-- SUB -->
+<xsl:template match="sub">
+ <sub><xsl:apply-templates /></sub>
+</xsl:template>
+<xsl:template match="sub" mode="embedded">
+ <sub><xsl:apply-templates /></sub>
+</xsl:template>
+
+<!-- SUP -->
+<xsl:template match="sup">
+ <sup><xsl:apply-templates /></sup>
+</xsl:template>
+<xsl:template match="sup" mode="embedded">
+ <sup><xsl:apply-templates /></sup>
+</xsl:template>
+
<!-- FILENAME -->
<xsl:template match="filename" />