Opened 13 years ago
Closed 13 years ago
#5604 closed bug (invalid)
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)
Change History (2)
Changed 13 years ago by
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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)."
Note: See
TracTickets for help on using
tickets.
Example HTML Code