As the title says, the "print" page fails the W3C validator test (XHTML 1.0 strict):

document type does not allow element "br" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag

This error comes from print.tpl.php, line 26:

    <div class="print-site_name"><?php print $print['site_name']; ?></div>
    <br />
    <div class="print-breadcrumb"><?php print $print['breadcrumb']; ?></div>

We should either remove the <br />, or replace it by <p><br /></p>, or just <p />

Thanks for this really useful module.

Cheers,

Khâpin

Comments

jcnventura’s picture

Status: Needs review » Fixed

You're right.. I replaced it with <p />.

Thanks!

khapin’s picture

That was fast!
You're welcome ;-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.