summaryrefslogtreecommitdiff
path: root/xslt/mallard/html/mal2html-inline.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/mallard/html/mal2html-inline.xsl')
-rw-r--r--xslt/mallard/html/mal2html-inline.xsl19
1 files changed, 19 insertions, 0 deletions
diff --git a/xslt/mallard/html/mal2html-inline.xsl b/xslt/mallard/html/mal2html-inline.xsl
index 5c4f2fb8..4eeebc58 100644
--- a/xslt/mallard/html/mal2html-inline.xsl
+++ b/xslt/mallard/html/mal2html-inline.xsl
@@ -260,6 +260,25 @@ an `xref` or `href` attribute.
</xsl:call-template>
</xsl:template>
+<xsl:template mode="mal2html.inline.content.mode" match="mal:hi">
+ <xsl:variable name="style" select="concat(' ', @style, ' ')"/>
+ <xsl:choose>
+ <xsl:when test="contains($style, ' ins ')">
+ <ins>
+ <xsl:apply-templates mode="mal2html.inline.mode"/>
+ </ins>
+ </xsl:when>
+ <xsl:when test="contains($style, ' del ')">
+ <del>
+ <xsl:apply-templates mode="mal2html.inline.mode"/>
+ </del>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates mode="mal2html.inline.mode"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
<!-- = key = -->
<xsl:template mode="mal2html.inline.mode" match="mal:key">
<xsl:call-template name="mal2html.span"/>