summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-06-21 12:15:20 +0200
committerAdrian Kummerlaender2019-06-21 12:15:20 +0200
commit298bde26dfc354fd487ef0870200200f1250a092 (patch)
treec34103f7c783fe65d39616ad2bc196dcba565905
parent150be1518175deabc2e51afda0e4771bfc017f70 (diff)
downloadtree.kummerlaender.eu-298bde26dfc354fd487ef0870200200f1250a092.tar
tree.kummerlaender.eu-298bde26dfc354fd487ef0870200200f1250a092.tar.gz
tree.kummerlaender.eu-298bde26dfc354fd487ef0870200200f1250a092.tar.bz2
tree.kummerlaender.eu-298bde26dfc354fd487ef0870200200f1250a092.tar.lz
tree.kummerlaender.eu-298bde26dfc354fd487ef0870200200f1250a092.tar.xz
tree.kummerlaender.eu-298bde26dfc354fd487ef0870200200f1250a092.tar.zst
tree.kummerlaender.eu-298bde26dfc354fd487ef0870200200f1250a092.zip
Adapt to pandoc output changes
-rw-r--r--utility/formatter.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/utility/formatter.xsl b/utility/formatter.xsl
index e3f68f1..4493d73 100644
--- a/utility/formatter.xsl
+++ b/utility/formatter.xsl
@@ -101,7 +101,7 @@
<xsl:when test="contains(@class, 'display')">
<p class="math">
<xsl:call-template name="math_highlighter">
- <xsl:with-param name="source" select="substring(text(),3,string-length(text())-4)"/>
+ <xsl:with-param name="source" select="text()"/>
<xsl:with-param name="arguments">
<xsl:text>--display-mode</xsl:text>
</xsl:with-param>
@@ -111,7 +111,7 @@
<xsl:otherwise>
<span class="math">
<xsl:call-template name="math_highlighter">
- <xsl:with-param name="source" select="substring(text(),3,string-length(text())-4)"/>
+ <xsl:with-param name="source" select="text()"/>
</xsl:call-template>
</span>
</xsl:otherwise>