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: |
Description
When loading http://jsfiddle.net/yJWuQ/ 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 comment:1
component: | unfiled → manipulation |
---|---|
priority: | undecided → low |
resolution: | → invalid |
status: | new → closed |
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.