Skip to main content

Bug Tracker

Side navigation

#5604 closed bug (invalid)

Opened December 05, 2009 04:30PM UTC

Closed December 05, 2009 11:52PM UTC

jQuery Manipulation functions generate incorrect html

Reported by: raphaelr Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.4a1
Keywords: Cc:
Blocked by: Blocking:
Description

Something like this:

$("body").prepend("<p><strong></strong><div></div></p>");

Generates something like this:

<p style="display: block;"><strong></strong></p><div></div>

Attachments (1)
  • temp.html (0.2 KB) - added by raphaelr December 05, 2009 04:31PM UTC.

    Example HTML Code

Change History (1)

Changed December 05, 2009 11:52PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

http://www.w3.org/TR/html4/struct/text.html#h-9.3.1

"The P element represents a paragraph. It cannot contain block-level elements (including P itself)."