summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--org-conf.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/org-conf.el b/org-conf.el
index 9e31b92..c2afc19 100644
--- a/org-conf.el
+++ b/org-conf.el
@@ -632,6 +632,15 @@ CC BY-SA </a>."))
(setq org-html-head-include-scripts nil)
+;;;; Add correct type attribute
+
+(setq org-html-mathjax-template
+ (replace-regexp-in-string
+ (rx-to-string '(seq "<script src=\"" (1+ (not ?\")) "\"" (group ">")) t)
+ " type=\"text/javascript\">"
+ org-html-mathjax-template
+ t nil 1))
+
;;;; Projects settings
(setq org-publish-project-alist