summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-04-02 16:04:15 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-04-02 16:04:15 (GMT)
commit1b8afc8802f7ac40614e95a47ffd3ae152b57987 (patch)
tree9ddf772dd23a3fd312b49874c3b74c62b57af0ef /src/htmlgen.cpp
parent7e2fcd305c8c9377aa958a3d812cc31bc81c0e32 (diff)
downloadDoxygen-1b8afc8802f7ac40614e95a47ffd3ae152b57987.zip
Doxygen-1b8afc8802f7ac40614e95a47ffd3ae152b57987.tar.gz
Doxygen-1b8afc8802f7ac40614e95a47ffd3ae152b57987.tar.bz2
Bug 792211 - When generating xhtml, async attribute on script tags need a value
Corrected attribute.
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index cc3e61d..83bbd2b 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -375,7 +375,7 @@ static QCString substituteHtmlKeywords(const QCString &s,
mathJaxJs += "\n";
}
mathJaxJs += "</script>";
- mathJaxJs += "<script type=\"text/javascript\" async src=\"" + path + "MathJax.js\"></script>\n";
+ mathJaxJs += "<script type=\"text/javascript\" async=\"async\" src=\"" + path + "MathJax.js\"></script>\n";
}
// first substitute generic keywords