commit 96b3b38affcd81920b1cb3071550d61ae2a390de
parent dc63d9f424d1a528d0e7d93fa8d45327151d7dd8
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 18 Feb 2017 12:57:16 +0100
adjust for changes in python-markdown-math
commits 8d50332eaefd08b062a8b2272e31d4f303dab682 and
cb6a75e8c5e571c321bd9e3329aba13d191c815b
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/addmathjax b/addmathjax
@@ -17,7 +17,7 @@ mkdir -p "$CACHEDIR"
#fi
cat > $TEMP
-if grep -E "class=\"math\"|class=\"tex\"" $TEMP > /dev/null
+if grep -E "class=\"math\"|class=\"tex\"|class=\"MathJax_Preview\"" $TEMP > /dev/null
then
# expensive processing
SHA=$(sha1sum < $TEMP | cut -d ' ' -f1)