jQuery 1.7 Strips Carriage Returns in IE 8
|Reported by:||Owned by:|
In versions of jQuery prior to 1.7, new nodes which are inserted preserve all carriage returns in IE 8. This is now broken in 1.7.
Test Case page: http://jsfiddle.net/27DGw/3/
In the above test case, in all browsers except IE 8, the value which is alerted is "One\nTwo". In IE 8, the alerted value is "OneTwo".
Note that when you change the jquery library to a version < 1.7, IE 8 returns the expected, correct value.
Change History (6)
comment:1 Changed 5 years ago by
|Component:||unfiled → misc|
|Priority:||undecided → low|
|Status:||new → open|