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

Reported by Sebastian Rose.
This commit is contained in:
Carsten Dominik 2009-01-19 14:30:42 +01:00
parent ab310f9405
commit e76dd96fce
3 changed files with 4 additions and 2 deletions

View File

@ -43,7 +43,7 @@ EOF
$script = <<'EOF'; $script = <<'EOF';
</style><link rel="stylesheet" href="http://orgmode.org/org.css" type="text/css" /> </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 type="text/javascript" src="http://orgmode.org/org-keys.js"></script>
<script language="javascript" type="text/javascript"> <script type="text/javascript">
<!--/*--><![CDATA[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
OrgKeyReader.registerHref('h', 'index.html'); OrgKeyReader.registerHref('h', 'index.html');
OrgKeyReader.registerHref('t', 'index.html'); OrgKeyReader.registerHref('t', 'index.html');

View File

@ -1,5 +1,7 @@
2009-01-19 Carsten Dominik <carsten.dominik@gmail.com> 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 * org.el (org-make-tags-matcher): Never use IDO for completing the
tags matcher match string. tags matcher match string.
(org-completing-read): Also remove the special biding for "?". (org-completing-read): Also remove the special biding for "?".

View File

@ -542,7 +542,7 @@ Org-mode file."
:type '(string :tag "File or URL")) :type '(string :tag "File or URL"))
(defconst org-export-html-scripts (defconst org-export-html-scripts
"<script language=\"javascript\" type=\"text/javascript\"> "<script type=\"text/javascript\">
<!--/*--><![CDATA[/*><!--*/ <!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id) function CodeHighlightOn(elem, id)
{ {