Bug Tracker

Modify

Ticket #7170 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

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

comment:1 Changed 4 years ago by anonymous

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

comment:2 Changed 4 years ago by john

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

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.

View

Add a comment

Modify Ticket

Action
as closed
Author


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

 
Note: See TracTickets for help on using tickets.