Closed (fixed)
Project:
Drupal core
Version:
4.7.2
Component:
page.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2006 at 16:43 UTC
Updated:
12 Oct 2006 at 04:15 UTC
When using the "Full HTML" input format on a content page, the <p> and <br> tags inserted into the rendered page are not XHTML compliant. The <br> should be <br /> and the <p> tags need to be closed
.
Comments
Comment #1
RobRoy commentedAre you using a WYSIWYG editor? Or, do you want Full HTML to validate your input as XHTML? If it's the latter, you could create a filter module to do so.
In other words, what content has these invalid tags in it? User-submitted content or something in Drupal?
Comment #2
gchaix commentedNo WYSIWYG editor in this case, this problem appears when editing with rich-text disabled. I believe the problem is in the
"Line break converter Converts line breaks into HTML (i.e. <br> and <p> tags)"feature. The when the line break filter is enabled, the tags it inserts are not XHTML compliant.Comment #3
dopry commentedThis seems to be fixed in 4.7.3 looking in filter module.
Comment #4
(not verified) commented