summaryrefslogtreecommitdiff
path: root/public/js/extra.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/extra.js')
-rw-r--r--public/js/extra.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/extra.js b/public/js/extra.js
index 676c41cc..37af0692 100644
--- a/public/js/extra.js
+++ b/public/js/extra.js
@@ -775,7 +775,7 @@ var mathjaxPlugin = new Plugin(
// this function will be called when something matches
function (match, utils) {
- if (match.index == 0)
+ if (match.index == 0 && (md.meta.mathjax || typeof md.meta.mathjax == "undefined"))
return '<span class="mathjax raw">' + match[0] + '</span>';
else
return match.input.slice(0, match[0].length);