Visual Code Editor 1.1 – valid xhtml

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 block
  • Select the sourcecode block
  • Select Preformatted from TinyMCE’s format menu
  • Paste in your code

    Log into your WP Admin and update the plugin for the fix!

    One Reply to “Visual Code Editor 1.1 – valid xhtml”

    Comments are closed.