Home > Visual Code Editor, Web Coding > Visual Code Editor 1.1 – valid xhtml

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] 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!

    Visual Code Editor, Web Coding

    1. Gremmie
      December 7th, 2008 at 22:32 | #1

      Yay! No XHTML conformance problems now. Thank you!

    1. No trackbacks yet.