Kaydet (Commit) c96e2c23 authored tarafından Caolán McNamara's avatar Caolán McNamara

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
üst a05357ab
...@@ -67,6 +67,16 @@ ...@@ -67,6 +67,16 @@
<xsl:text>&#xA;</xsl:text> <xsl:text>&#xA;</xsl:text>
</xsl:template> </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:template match="paragraph">
<xsl:value-of select="."/> <xsl:value-of select="."/>
<xsl:text>&#xA;</xsl:text> <xsl:text>&#xA;</xsl:text>
......
...@@ -250,6 +250,22 @@ ...@@ -250,6 +250,22 @@
<span class="emph"><xsl:apply-templates /></span> <span class="emph"><xsl:apply-templates /></span>
</xsl:template> </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 --> <!-- FILENAME -->
<xsl:template match="filename" /> <xsl:template match="filename" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment