Modify ↓
Ticket #10276 (closed bug: invalid)
.html() doesn't behave consistently on all browsers.
| Reported by: | xroot | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.6.4rc1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
.html() isn't cross-browser consistent if val contains a trailing unencoded ampersand. IE removes the ampersand, Chrome and Firefox don't.
Change History
comment:1 follow-up: ↓ 2 Changed 21 months ago by dmethvin
- Status changed from new to closed
- Resolution set to invalid
comment:2 in reply to: ↑ 1 Changed 21 months ago by xroot
Replying to dmethvin:
Use &
I know that this is invalid HTML. It doesn't behave consistent on all browsers, anyway.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Use &
http://www.w3.org/TR/html4/charset.html#h-5.3.2
http://www.w3.org/TR/xhtml1/guidelines.html#C_12