<strong> in the html filter brakes the w3c xhtml validation at the print friendly version output.
the code generated by the printer-friendly version shows <p><strong>text</strong><br />. Instead, it should be something like <p><strong>text</strong></p><br />
Comments
Comment #1
preferred name commentedopps...
printer-friendly version and not the module print friendly version
Comment #2
dmitrig01 commentedahem...
is one of the few tags that does not need to be closed
Comment #3
dmitrig01 commented<p>that isComment #4
preferred name commentedIn this example,
<p><h3>text</h3><br />is not xhtml valid as there appears to be a glitch in the core, because the drupal's generation of that code appears to be a random event and I don't know why that is. Sorry, I can't give you anymore information about why that may be, but that is what I see when I view the various page sources of the printer-friendly version.The
<p><h3>text</h3><br />is the output from the printer-friendly version. Pasting the source into a w3c xhtml validator will fail. The blockquote (and some other html tags, such as h1) also brakes the code and may led to other problems, such as when a third party filter module is installed. In any case, the result will be many xhtml validation errors.Try using h3 or blockquote in addition to the strong
Comment #5
Crell commentedIn XHTML it does. All tags need to be closed in XHTML.
Comment #6
preferred name commentedCrell, In XHTML it does?
I have verified that this is a bug. It is very easy to determine that this is a bug. Edit a book topic, put in h3 tag, close the h3 tag, as in my example above, and then click the printer-friendly version and verify that it does not validate.
Comment #7
dave reidIf your content's input filter is not using the HTML Corrector, there's no chance to fix this. But I gave this a try and a default book page with the default 'filtered HTML' input format and my output was: