Bug Tracker

Modify

Opened 6 years ago

Closed 6 years ago

#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:
Blocked by: Blocking:

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 (2)

comment:1 Changed 6 years ago by anonymous

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

comment:2 Changed 6 years ago by john

  • Resolution set to invalid
  • Status changed from new to closed

Heh, no worries.

Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Modify Ticket

Change Properties
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.