Making JsMath XHTML-compliant

vyvee - May 27, 2008 - 07:37
Project:JsMath for displaying mathematics with TeX
Version:6.x-1.0
Component:Code
Category:feature request
Priority:minor
Assigned:Unassigned
Status:closed
Description

I have written a patch that modifies the output of jsmath drupal module a bit to make it XHTML-compliant. In particular, the code generated should pass the test in http://validator.w3.org/.

The patch:

  • Adds 'type="text/javascript"' for a script tag as required by the XHTML standard;
  • Removes the document.write() part which seems to be standard compliant but not parsed correctly and thus verified by the validator.
AttachmentSize
jsmath_xhtml.patch1.13 KB

#1

gustav - July 11, 2008 - 12:21
Status:needs review» fixed

Thanks for this patch. I have committed it to the HEAD branch in CVS

#2

Anonymous (not verified) - July 31, 2008 - 04:46
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.