Modify ↓
Ticket #7170 (closed bug: invalid)
jQuery encodes ampersand in &2sup;
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.4.3 |
| Component: | unfiled | Version: | 1.4.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
The "squared" or "superscript 2" entity is not recognised by jQuery's html() function, and as such when I try to do $(o).html('&2sup;') the resulting html is '&2sup;' for the object in question.
Change History
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.

Oh dear. I feel stupid now. It's ²... sorry everyone. I thought I'd tried everything... :|