- 19 . 08 . 04
A simple plugin for WordPress that converts arbitrary HTML to valid XHTML.
Plugin, WordPress, X-Valid, XHTML
Recently, I’ve been working on a way to automatically convert an arbitrary WordPress post to valid XHTML. Mainly it was a programming exercise so I don’t forget how, but it has actually produced something that generates good results. It is available as a plugin for WordPress, with no configuration or alterations necessary.
It’s still in beta but is now stable and handles a wide range of poor markup, converting it to XHTML that will validate against the 1.0 Strict Doctype. For the few cases where validifying the text would involve removing data, the tags are ignored and an information page is generated. You can find it here. Feedback, positive and negative would be greatly appreciated. Hope someone finds it useful!