Closed johanvanr closed 12 years ago
Thanks for reporting that! (Sorry for the slow reply -- I've been on vacation.)
It looks like this is an issue with Dokuwiki itself, actually. It creates script blocks that IE chokes on, while Firefox handles them well. I've submitted a bug report to the Dokuwiki project.
For now, the best workaround might be to edit inc/template.php
and change lines 375-377 (assuming the 2012-01-25 "Angua" release) in _tpl_metaheaders_action()
to be:
$attr['_data'] = "/*<![CDATA[*/\n".
$attr['_data'].
"\n/*!]]>*/";
Alternatively, you can go into the configuration manager and clear the contents of the plugin»mathjax»config
entry. This will disable the single-dollar-sign syntax for inline math, but I believe that \( ... \)
should still work.
I'll leave this issue open until Dokuwiki is updated or another fix is found. Perhaps there are some better workarounds, as well.
A fix has been committed to dokuwiki here: splitbrain/dokuwiki@09f791c4e279f87c9445eb80a194c43208037f52.
It looks like it will be included in the next major release ("autumn 2012"). The workaround(s) above will work until then, and the new release should fix the problem for good.
The problem is indeed solved after editing template.php. Thanks a lot for the service!!
First of all: Great plugin!
Mathjax does not work in IE8 (XP and Windows 7). It causes the error below. It works fine in Firefox 13.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; MS-RTC LM 8) Timestamp: Thu, 5 Jul 2012 20:53:26 UTC
Message: Syntax error Line: 1 Char: 6 Code: 0 URI: **/dokuwiki/doku.php?id=playground:playground