Has anyone come across a nice plugin (or Lightbox hack) that will keep a site valid (and functional) when using multiple images (image gallery) with lighbox. XHTML doesn't allow for the { } [ ], which is needed to create the gallery. And, WordPress is adding additional tags to the code </a ref="lightbox"> to be exact. I'm happy to use something other than LB (I'd prefer to use jQuery) but haven't had much time to figure it out. Thanks.
Yeah, you're right. It is. I forgot. What it is doing through WP though, is adding the additional rel="lightbox" after the </a>. This is making bad things happen. Optimally, I'd just close the href with a shorttag for the set. Basically, how do I stop WP from autoformatting my code. I'm not using the rich-text editor.
you probably already have unchecked that option if you aren't using the rich-text editor, but under "Options > writing" in the "Formatting" section did you also uncheck "WordPress should correct invalidly nested XHTML automatically"?