Browse Source

Bugfix: No "language" attribute in <script> tag.

Reported by Sebastian Rose.
Carsten Dominik 16 years ago
parent
commit
e76dd96fce
3 changed files with 4 additions and 2 deletions
  1. 1 1
      UTILITIES/mansplit.pl
  2. 2 0
      lisp/ChangeLog
  3. 1 1
      lisp/org-exp.el

+ 1 - 1
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');

+ 2 - 0
lisp/ChangeLog

@@ -1,5 +1,7 @@
 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org-exp.el (org-export-html-scripts): Fix HTML snippet.
+
 	* org.el (org-make-tags-matcher): Never use IDO for completing the
 	tags matcher match string.
 	(org-completing-read): Also remove the special biding for "?".

+ 1 - 1
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)
  {