Posted by vyvee on May 27, 2008 at 7:37am
Jump to:
| Project: | JsMath for displaying mathematics with TeX |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
| Attachment | Size |
|---|---|
| jsmath_xhtml.patch | 1.13 KB |
Comments
#1
Thanks for this patch. I have committed it to the HEAD branch in CVS
#2
Automatically closed -- issue fixed for two weeks with no activity.