Just discovered this issue in the Code filter issue queue: http://drupal.org/node/32218
If Code filter comes after Line break converter (as it does on d.o.), then the <div class="codeblock"> blocks are enclosed by <p> paragraph tags. Which is obviously invalid XHTML code.
For example, look at the source code on this page.
print "note the erroneous <p> tags that surround this div";
Comments
Comment #1
vm commentedQueue cleanup.
John is this still an issue on d.o over a year later?
Comment #2
avpadernoIt is still a problem.
Looking at the source code of this page, I see
Comment #3
avpadernoThe solution seems quiet easy.
Comment #4
rfayIs this still valid? Since we obviously can get things done now on d.o we should fix this...
Comment #5
rfayRelated: #1310256: HTML filter runs after code filter, so URLs get linkified even if in code on d.o
Comment #6
johnalbinI just viewed source on this page and am no longer seeing invalid html. Instead I see:
Perhaps the HTML Corrector is fixing it now. Anyway, closing this 5 year old issue. yay!