[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Patch org-jsinfo.js
From: |
Sebastian Rose |
Subject: |
[Orgmode] Patch org-jsinfo.js |
Date: |
Fri, 31 Oct 2008 21:08:52 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.16 (X11/20080724) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Orgmode] Patch org-jsinfo.js,
Sebastian Rose <=