Skip to content

Commit

Permalink
Merge pull request #69 from metanorma/issue/67
Browse files Browse the repository at this point in the history
subscript and superscript markup fixed, #67
  • Loading branch information
Intelligent2013 authored Sep 19, 2023
2 parents da805ca + 38a15d1 commit 5965ad8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/main/resources/stepmod2mn.adoc.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,9 @@
</xsl:choose>
</xsl:template>
<xsl:template match="sub2" mode="text">
<xsl:text>~~</xsl:text><xsl:apply-templates mode="text"/><xsl:text>~~</xsl:text>
<!-- <xsl:text>~~</xsl:text><xsl:apply-templates mode="text"/><xsl:text>~~</xsl:text> -->
<!-- https://github.com/metanorma/stepmod2mn/issues/67 -->
<xsl:text>~</xsl:text><xsl:apply-templates mode="text"/><xsl:text>~</xsl:text>
</xsl:template>

<xsl:template match="sup" mode="text">
Expand All @@ -667,7 +669,9 @@
</xsl:choose>
</xsl:template>
<xsl:template match="sup2" mode="text">
<xsl:text>^^</xsl:text><xsl:apply-templates mode="text"/><xsl:text>^^</xsl:text>
<!-- https://github.com/metanorma/stepmod2mn/issues/67 -->
<!-- <xsl:text>^^</xsl:text><xsl:apply-templates mode="text"/><xsl:text>^^</xsl:text> -->
<xsl:text>^</xsl:text><xsl:apply-templates mode="text"/><xsl:text>^</xsl:text>
</xsl:template>

<xsl:template match="br" mode="text">
Expand Down

0 comments on commit 5965ad8

Please sign in to comment.