Skip to main content

Bug Tracker

Side navigation

#11384 closed bug (invalid)

Opened February 23, 2012 09:24PM UTC

Closed February 27, 2012 02:53PM UTC

href gets encoded after appending the html to a div in ff, but not in ie9/ie8/chrome

Reported by: gabelerner Owned by:
Priority: low Milestone: None
Component: manipulation Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

When loading in firefox, i see the curly brace encoded, yet when loading it in chrome or ie9/ie8, the curly brace is not encoded. This is breaking some of my jQuery tmpl manipulation logic.

Attachments (0)
Change History (1)

Changed February 27, 2012 02:53PM UTC by sindresorhus comment:1

component: unfiledmanipulation
priority: undecidedlow
resolution: → invalid
status: newclosed

This is not a jQuery bug. The same thing happens with vanilla JS.

The Firefox behavior is the correct one.

jQuery tmpl issue.

You can use "decodeURIComponent()" to get the unencoded string.