Browse Source

Remove language attribute from script tag.

This did cause validation problems.
Carsten Dominik 16 years ago
parent
commit
fde28dbdb1
2 changed files with 7 additions and 2 deletions
  1. 5 0
      lisp/ChangeLog
  2. 2 2
      lisp/org-jsinfo.el

+ 5 - 0
lisp/ChangeLog

@@ -1,3 +1,8 @@
+2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
+
+	* org-jsinfo.el (org-infojs-template): Remove language attribute
+	from script tag.
+
 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
 
 	* org-agenda.el (org-agenda-remove-marked-text): New function.

+ 2 - 2
lisp/org-jsinfo.el

@@ -104,8 +104,8 @@ means to use the maximum value consistent with other options."
 	   org-infojs-opts-table)))
 
 (defcustom org-infojs-template
-  "<script type=\"text/javascript\" language=\"JavaScript\" src=\"%SCRIPT_PATH\"></script>
-<script type=\"text/javascript\" language=\"JavaScript\">
+  "<script type=\"text/javascript\" src=\"%SCRIPT_PATH\"></script>
+<script type=\"text/javascript\" >
 /* <![CDATA[ */
 %MANAGER_OPTIONS
 org_html_manager.setup();  // activate after the parameterd are set