aboutsummaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
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>