emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Patch org-jsinfo.js


From: Carsten Dominik
Subject: Re: [Orgmode] Patch org-jsinfo.js
Date: Sat, 1 Nov 2008 13:55:16 +0100

Applied, thanks.

- Carsten

On Oct 31, 2008, at 9:08 PM, Sebastian Rose wrote:

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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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