* Patch org-jsinfo.js
@ 2008-10-31 20:08 Sebastian Rose
2008-11-01 12:55 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Rose @ 2008-10-31 20:08 UTC (permalink / raw
To: [emacs-orgmode]
[-- 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: Patch org-jsinfo.js
2008-10-31 20:08 Patch org-jsinfo.js Sebastian Rose
@ 2008-11-01 12:55 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-11-01 12:55 UTC (permalink / raw
To: sebastian_rose; +Cc: [emacs-orgmode]
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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-01 14:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-31 20:08 Patch org-jsinfo.js Sebastian Rose
2008-11-01 12:55 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.