Visual Code Editor 1.1 - valid xhtml
December 6th, 2008
Gremmie noticed that Syntax Higlighter Plus adds it’s own <pre> tag when outputting to page. That creates a nested <pre> tag which is not valid xhtml. So I fixed that with 1.1. Using <pre> in visual mode is still required. The fix is to remove the extra <pre> on output to page.
Also updated are the instructions of how to post code snippets:
- In visual mode, create a [sourcecode language="xxx"][/sourcecode] block
- Select the sourcecode block
- Select
Preformattedfrom TinyMCE’s format menu - Paste in your code
Log into your WP Admin and update the plugin for the fix!

Yay! No XHTML conformance problems now. Thank you!