foscolo
Posts: 2
|
I'm a bit of a W3C validadation obsessive. A valid page, once edited through Snippetmaster, may no longer be valid. Here's an example from valdiation report of a page edited in Snippetmaster which was previously valid:
Line 4, Column 66: Attribute "MCE_HREF" is not a valid attribute
…lesheet" type="text/css" href="nice.css" mce_href="nice.css">
Where did "MCE_HREF" come from? I didn't include it in the original version. Then....
Line 117, Column 401: NET-enabling start-tag requires SHORTTAG YES
…le, four chairs, TV, DVD player.<br />
The <br /> has appeared - it's not necessary, as the text is already inside <p> ... </p>. More to the point, it's the XHTML <br /> in an HTML 4 document (so it should be <br>), and that's why it doesn't validate. (I think, anyway - I'm not a total expert on this). There are nearly 40 more examples of this in the same report.
HOWEVER... the Snippetmaster-edited page displays absolutely fine in all browsers I've tested, so this is really only about being able to tick the "valid code" box.
Anyway, is there a way around this, or is just an avoidable fact of life if you want to do clever stuff like this with php?
|