emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org f2bedc8 2/3: lisp/ox-html.el: Remove type="text/jav


From: ELPA Syncer
Subject: [elpa] externals/org f2bedc8 2/3: lisp/ox-html.el: Remove type="text/javascript"
Date: Fri, 30 Apr 2021 04:57:11 -0400 (EDT)

branch: externals/org
commit f2bedc888136647c0509aa10899fad475d862114
Author: Bastien Guerry <bzg@gnu.org>
Commit: Bastien Guerry <bzg@gnu.org>

    lisp/ox-html.el: Remove type="text/javascript"
    
    * lisp/ox-html.el (org-html-scripts, org-html-infojs-template)
    (org-html-mathjax-template): Remove type="text/javascript".
    
    Reported-by: TEC <tecosaur@gmail.com>
    Link: https://orgmode.org/list/874kkkxqma.fsf@gmail.com/
---
 lisp/ox-html.el | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 4712231..7f102bc 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -233,7 +233,7 @@ property on the headline itself.")
   "Regular expressions for special string conversion.")
 
 (defcustom org-html-scripts
-  "<script type=\"text/javascript\">
+  "<script>
 // @license 
magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&amp;dn=gpl-3.0.txt 
GPL-v3-or-Later
      function CodeHighlightOn(elem, id)
      {
@@ -515,12 +515,12 @@ means to use the maximum value consistent with other 
options."
           org-html-infojs-opts-table)))
 
 (defcustom org-html-infojs-template
-  "<script type=\"text/javascript\" src=\"%SCRIPT_PATH\">
+  "<script src=\"%SCRIPT_PATH\">
 // @license 
magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&amp;dn=gpl-3.0.txt 
GPL-v3-or-Later
 // @license-end
 </script>
 
-<script type=\"text/javascript\">
+<script>
 // @license 
magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&amp;dn=gpl-3.0.txt 
GPL-v3-or-Later
 %MANAGER_OPTIONS
 org_html_manager.setup();  // activate after the parameters are set
@@ -1263,8 +1263,7 @@ For further information about MathJax options, see the 
MathJax documentation:
              }
 });
 </script>
-<script type=\"text/javascript\"
-        src=\"%PATH\"></script>"
+<script src=\"%PATH\"></script>"
   "The MathJax template.  See also `org-html-mathjax-options'."
   :group 'org-export-html
   :type 'string)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]