Description
Current (1.5.1+refactor) code produces HTML with <p> <pre> ... </pre> <p> which is invalid.
p may only contain inline elements, not block elements.
Example
bla bla
asdasad
bla bla
Just try to validate some pages in this wiki. TODO: search short example code.
Details
This wiki.
Workaround
None. The p usually gets closed by browsers automatically and the /p after the pre just gets ignored.
The W3C validator also closes the p automatically, but complains about the /p of course, because no p is open anymore.
Discussion
Plan
- Priority:
- Assigned to:
Status: see also first issue on MoinMoinBugs/HTMLValidationFails - looks like fixed by that patch, too