Hi,

I fear I have introduced this error:


lsitemap.html:41: element script: validity error : No declaration for attribute language of element script Document sitemap.html does not validate against http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd


says there is no attribute 'language' in http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd



Appended patch corrects this.

Didn't find a place in the docs where this error is duplicated
(grep -lFr 'language=').



Regards,

  Sebastian

diff --git a/lisp/org-jsinfo.el b/lisp/org-jsinfo.el
index 17a029d..b89865a 100644
--- a/lisp/org-jsinfo.el
+++ b/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
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to