aboutsummaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorAdrian Kummerlaender2016-09-01 16:17:12 +0200
committerAdrian Kummerlaender2016-09-01 16:17:12 +0200
commit6a7696017a5420ef8ff349135cbab32bac18a28c (patch)
tree1da51c4259ac0fdd2d5a45fc77f9e58be5e5dd26 /utility
parent595238ffcda55be3029c01a3cccf50481a56eda3 (diff)
downloadblog.kummerlaender.eu-6a7696017a5420ef8ff349135cbab32bac18a28c.tar
blog.kummerlaender.eu-6a7696017a5420ef8ff349135cbab32bac18a28c.tar.gz
blog.kummerlaender.eu-6a7696017a5420ef8ff349135cbab32bac18a28c.tar.bz2
blog.kummerlaender.eu-6a7696017a5420ef8ff349135cbab32bac18a28c.tar.lz
blog.kummerlaender.eu-6a7696017a5420ef8ff349135cbab32bac18a28c.tar.xz
blog.kummerlaender.eu-6a7696017a5420ef8ff349135cbab32bac18a28c.tar.zst
blog.kummerlaender.eu-6a7696017a5420ef8ff349135cbab32bac18a28c.zip
Include mathjax CSS also for pages containing only inline expressions
Diffstat (limited to 'utility')
-rw-r--r--utility/master.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility/master.xsl b/utility/master.xsl
index 6554ae2..e258cf4 100644
--- a/utility/master.xsl
+++ b/utility/master.xsl
@@ -28,7 +28,7 @@
<link rel="stylesheet" type="text/css" href="/main.css" />
<link rel="shortcut icon" type="image/x-icon" href="/media/favicon.ico" />
- <xsl:if test="//p[@class = 'math']">
+ <xsl:if test="//*[(self::p or self::span) and @class = 'math']">
<link rel="stylesheet" type="text/css" href="/math.css" />
</xsl:if>