jsMath problems

jsMath problems

by Ian Wild -
Number of replies: 4

Hi All,

I'm just working on a colleague's Moodle site and discovered this issue: they have jsMath installed but when I go to a "Define roles" page then I see a span tag inserted by jsMath (please see attached screen shot).

Just looking through the forums I see others have had similar problems. Is there any solution?

Site details: Moodle 1.9.4 (about to be upgraded) on shared hosting.

Another issue I'm having is that Moodle seems to freeze IE on the "Define roles" pages. If I turn off the jsMath filter then the problem is solved smile. Except I need jsMath installed on this Moodle sad.

Thanks in advance,

Ian.

Attachment jsMath_error_screen_grab.PNG
Average of ratings: -
In reply to Ian Wild

Re: jsMath problems

by Mauno Korpelainen -

Well I remember one similar case 2 years ago http://moodle.org/mod/forum/discuss.php?d=78614

<span id="Process_jsMath"></span> seemed to cause

jsMath.Autoload.Script has no properties error...

For example jsMath itself could probably have some check that removes empty tags <span id="Process_jsMath"></span> but I have never tested how jsMath creates those tags - because I haven't used jsMath, just quickly tested it a couple of times.

In reply to Mauno Korpelainen

Re: jsMath problems

by Ian Wild -

Thanks Mauno. Am I right in thinking that this is basically a bug in the jsMath filter?

Ian.

In reply to Ian Wild

Re: jsMath problems

by Mauno Korpelainen -

It is clearly a bug in jsMath filter - jsMath should check that either it has some maths inside those tags or it should clean "empty notations"

Filter just renders tags (or hides them) but editor or some plugin might be used to totally clean them from inner html before saving...

In reply to Ian Wild

Re: jsMath problems

by Marc Grober -
Double check jsMath version. I think there were some major changes made a year os so back. I think jsmath is at 3.6??

I don't think filter has been changed since 1.9.2, but Davide maintains filter as well as app


Looks like Davide is on sabbatical. I emailed his university address to see if he was available to look at this in the mean time.