emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] No attribute language in element script


From: Sebastian Rose
Subject: [Orgmode] No attribute language in element script
Date: Mon, 19 Jan 2009 13:52:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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

reply via email to

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