emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: "[emacs-orgmode]" <emacs-orgmode@gnu.org>
Subject: Patch org-jsinfo.js
Date: Fri, 31 Oct 2008 21:08:52 +0100	[thread overview]
Message-ID: <490B65D4.4090402@gmx.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

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


[-- Attachment #2: patch-org-jsinfo.patch --]
[-- Type: text/x-patch, Size: 639 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2008-10-31 20:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31 20:08 Sebastian Rose [this message]
2008-11-01 12:55 ` Patch org-jsinfo.js Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=490B65D4.4090402@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).