emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* No attribute language in element script
@ 2009-01-19 12:52 Sebastian Rose
  2009-01-19 13:32 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Rose @ 2009-01-19 12:52 UTC (permalink / raw)
  To: emacs-orgmode Org-Mode

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

Hi Carsten,


there is no attribute `language' in element <script> for XHTML. These
two little patches remove it:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 399 bytes --]

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index b4af546..37ae34f 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -542,7 +542,7 @@ Org-mode file."
   :type '(string :tag "File or URL"))
 
 (defconst org-export-html-scripts
-"<script language=\"javascript\" type=\"text/javascript\">
+"<script type=\"text/javascript\">
 <!--/*--><![CDATA[/*><!--*/
  function CodeHighlightOn(elem, id)
  {

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: Type: text/x-patch, Size: 570 bytes --]

diff --git a/UTILITIES/mansplit.pl b/UTILITIES/mansplit.pl
index 2cdfb05..49ea848 100755
--- a/UTILITIES/mansplit.pl
+++ b/UTILITIES/mansplit.pl
@@ -43,7 +43,7 @@ EOF
 $script = <<'EOF';
 </style><link rel="stylesheet" href="http://orgmode.org/org.css" type="text/css" />
 <script type="text/javascript" src="http://orgmode.org/org-keys.js"></script>
-<script language="javascript" type="text/javascript">
+<script type="text/javascript">
   <!--/*--><![CDATA[/*><!--*/
    OrgKeyReader.registerHref('h', 'index.html');
    OrgKeyReader.registerHref('t', 'index.html');

[-- Attachment #4: Type: text/plain, Size: 212 bytes --]





Regards,



-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de

[-- Attachment #5: 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	[flat|nested] 2+ messages in thread

* Re: No attribute language in element script
  2009-01-19 12:52 No attribute language in element script Sebastian Rose
@ 2009-01-19 13:32 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-01-19 13:32 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: emacs-orgmode Org-Mode

Fixed, thanks.

- Carsten

On Jan 19, 2009, at 1:52 PM, Sebastian Rose wrote:

> Hi Carsten,
>
>
> there is no attribute `language' in element <script> for XHTML. These
> two little patches remove it:
>
> diff --git a/lisp/org-exp.el b/lisp/org-exp.el
> index b4af546..37ae34f 100644
> --- a/lisp/org-exp.el
> +++ b/lisp/org-exp.el
> @@ -542,7 +542,7 @@ Org-mode file."
>   :type '(string :tag "File or URL"))
>
> (defconst org-export-html-scripts
> -"<script language=\"javascript\" type=\"text/javascript\">
> +"<script type=\"text/javascript\">
> <!--/*--><![CDATA[/*><!--*/
>  function CodeHighlightOn(elem, id)
>  {
> diff --git a/UTILITIES/mansplit.pl b/UTILITIES/mansplit.pl
> index 2cdfb05..49ea848 100755
> --- a/UTILITIES/mansplit.pl
> +++ b/UTILITIES/mansplit.pl
> @@ -43,7 +43,7 @@ EOF
> $script = <<'EOF';
> </style><link rel="stylesheet" href="http://orgmode.org/org.css"  
> type="text/css" />
> <script type="text/javascript" src="http://orgmode.org/org- 
> keys.js"></script>
> -<script language="javascript" type="text/javascript">
> +<script type="text/javascript">
>   <!--/*--><![CDATA[/*><!--*/
>    OrgKeyReader.registerHref('h', 'index.html');
>    OrgKeyReader.registerHref('t', 'index.html');
>
>
>
>
> Regards,
>
>
>
> -- 
> Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449  
> Hannover
> Tel.:  +49 (0)511 - 36 58 472
> Fax:   +49 (0)1805 - 233633 - 11044
> mobil: +49 (0)173 - 83 93 417
> Http:  www.emma-stil.de
> _______________________________________________
> 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:[~2009-01-19 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-19 12:52 No attribute language in element script Sebastian Rose
2009-01-19 13:32 ` Carsten Dominik

Code repositories for project(s) associated with this 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).