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.
| Comment | File | Size | Author |
|---|---|---|---|
| jsmath_xhtml.patch | 1.13 KB | vyvee |
Comments
Comment #1
gustav commentedThanks for this patch. I have committed it to the HEAD branch in CVS
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.