aboutsummaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-04-28 14:27:21 +0200
committerAdrian Kummerlaender2019-04-28 14:27:39 +0200
commita043d5dd1933e4fa9cfa2b10a7fdfa05c6c4d0eb (patch)
treed0c588a44f4973807b15525f9bb92ec672da0b87 /utility
parent61d983373016fe2eba27335a247b25c229317944 (diff)
downloadblog.kummerlaender.eu-a043d5dd1933e4fa9cfa2b10a7fdfa05c6c4d0eb.tar
blog.kummerlaender.eu-a043d5dd1933e4fa9cfa2b10a7fdfa05c6c4d0eb.tar.gz
blog.kummerlaender.eu-a043d5dd1933e4fa9cfa2b10a7fdfa05c6c4d0eb.tar.bz2
blog.kummerlaender.eu-a043d5dd1933e4fa9cfa2b10a7fdfa05c6c4d0eb.tar.lz
blog.kummerlaender.eu-a043d5dd1933e4fa9cfa2b10a7fdfa05c6c4d0eb.tar.xz
blog.kummerlaender.eu-a043d5dd1933e4fa9cfa2b10a7fdfa05c6c4d0eb.tar.zst
blog.kummerlaender.eu-a043d5dd1933e4fa9cfa2b10a7fdfa05c6c4d0eb.zip
Adapt to pandoc output changes
Diffstat (limited to 'utility')
-rw-r--r--utility/formatter.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/utility/formatter.xsl b/utility/formatter.xsl
index 606a764..ec6db47 100644
--- a/utility/formatter.xsl
+++ b/utility/formatter.xsl
@@ -107,7 +107,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>
@@ -117,7 +117,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>