Download & Extend

WYSIWYG XHTML case corrector

Drupal 6 outputs XHTML 1.0 strict by default. As of W3C standards, all elements ("tags") as well as their attributes have to be defined lowercase, e.g. <br  /> instead of <BR />.

Unfortunately, almost any existing WYSIWYG does not pay respect to this and, instead, sticks to the common Javascript/jQuery habit to regard and output DOM element names uppercase. Thus, almost no page content created in one of these editors will ever display standard compliant code.

This input filter corrects tags on a simple regex base and transforms all element identifiers to lowercase. Just place it into your input formats. Due to the nature of it's task, it is best placed near the end of any filter array.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.0-alpha1 tar.gz (7.9 KB) | zip (8.66 KB) 2012-Jan-06 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev tar.gz (7.91 KB) | zip (8.66 KB) 2012-Jan-07 Notes

Project Information


Maintainers for WYSIWYG XHTML case corrector

  • doitDave - 2 commits
    last: 20 weeks ago, first: 20 weeks ago

Issues for WYSIWYG XHTML case corrector

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports