1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-06 08:53:50 +00:00

contrib/lisp/ox-*.el: Remove type="text/javascript".

* contrib/lisp/ox-s5.el (org-s5--build-head): Remove type="text/javascript".

* contrib/lisp/ox-deck.el (org-deck-template): Ditto.

Reported-by: TEC <tecosaur@gmail.com>
Link: https://orgmode.org/list/874kkkxqma.fsf@gmail.com/
This commit is contained in:
Bastien Guerry 2021-04-30 10:20:55 +02:00
parent f2bedc8881
commit 7fc0900a28
2 changed files with 3 additions and 3 deletions

View File

@ -425,10 +425,10 @@ holding export options."
(mapconcat
(lambda (script)
(format
"<script src='%s' type='text/javascript'></script>" script))
"<script src='%s'></script>" script))
(plist-get pkg-info :scripts) "\n")
(org-html--build-mathjax-config info)
"<script type='text/javascript'>"
"<script>"
" $(document).ready(function () { $.deck('.slide'); });"
"</script>"
(org-html--build-head info)

View File

@ -255,7 +255,7 @@ INFO is a plist used as a communication channel."
"<!-- S5 JS -->"
(concat
"<script src='" dir
"/default/slides.js' type='text/javascript'></script>")) "\n")))
"/default/slides.js'></script>")) "\n")))
(defun org-s5--build-meta-info (info)
(concat