summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-11-17 21:22:48 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-11-17 21:22:48 (GMT)
commitb9e362903872f0313e6e26154aacc6c185a9b31d (patch)
tree0c7c3ab3d6f38e212b2cd4a4628e3c9d32d49db3 /src/htmlgen.cpp
parent169834ef89a1df22c8f72a01b6a9413bbb57edb5 (diff)
downloadDoxygen-b9e362903872f0313e6e26154aacc6c185a9b31d.zip
Doxygen-b9e362903872f0313e6e26154aacc6c185a9b31d.tar.gz
Doxygen-b9e362903872f0313e6e26154aacc6c185a9b31d.tar.bz2
Release-1.7.5.1-20111117
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index 0e3a158..c9318fa 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -33,7 +33,7 @@
#include "htmlhelp.h"
#include "docparser.h"
#include "htmldocvisitor.h"
-#include "index.h"
+#include "searchindex.h"
#include "pagedef.h"
#include "debug.h"
#include "dirdef.h"
@@ -992,7 +992,7 @@ static QCString substituteHtmlKeywords(const QCString &s,const char *title,
{
path.prepend(relPath);
}
- mathJaxJs = "<script src=\"" + path + "MathJax.js\">\n"
+ mathJaxJs = "<script type=\"text/x-mathjax-config\">\n"
" MathJax.Hub.Config({\n"
" extensions: [\"tex2jax.js\"";
QStrList &mathJaxExtensions = Config_getList("MATHJAX_EXTENSIONS");
@@ -1006,6 +1006,7 @@ static QCString substituteHtmlKeywords(const QCString &s,const char *title,
" jax: [\"input/TeX\",\"output/HTML-CSS\"],\n"
"});\n"
"</script>";
+ mathJaxJs += "<script src=\"" + path + "MathJax.js\"></script>\n";
}
// first substitute generic keywords