Bug Tracker

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#11528 closed bug (fixed)

ie8 serialization bug with .html() also hitting html5 tags

Reported by: cmcnulty Owned by:
Priority: low Milestone: 1.8
Component: manipulation Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

The ie8 serialization bug (which is fixed in the case of style and script tags) also affects link elements as well as all unknown elements, including all of html5.

JsFiddle

I have a fix as well as tests staged here:

https://github.com/cmcnulty/jquery/tree/ie8bug

A pull request is forthcoming.

Change History (9)

comment:1 Changed 6 years ago by Rick Waldron

Can you provide tests with that patch?

comment:2 Changed 6 years ago by Rick Waldron

Sorry, I hadn't seen your PR yet.

comment:3 Changed 6 years ago by cmcnulty

comment:4 Changed 6 years ago by sindresorhus

#11372 is a duplicate of this ticket.

comment:5 Changed 6 years ago by sindresorhus

Component: unfiledmanipulation
Priority: undecidedlow
Status: newopen

comment:6 Changed 6 years ago by cmcnulty

PR accepted into 1.8pre:

commit

Ticket can be closed.

comment:7 Changed 6 years ago by dmethvin

Thanks Charles, what should happen is that when this lands in master the ticket will be closed. We'll see...

comment:8 Changed 5 years ago by dmethvin

Resolution: fixed
Status: openclosed

comment:9 Changed 5 years ago by dmethvin

Milestone: None1.8
Note: See TracTickets for help on using tickets.