]> source.dussan.org Git - jquery.git/commit
Manipulation: Switch rnoInnerhtml to a version more performant in IE
authorSean Henderson <seanh.za@gmail.com>
Thu, 3 Sep 2015 15:48:20 +0000 (17:48 +0200)
committerMichał Gołębiowski <m.goleb@gmail.com>
Tue, 8 Sep 2015 17:35:06 +0000 (19:35 +0200)
commit29266e00e91b2ad42793f7c12965662917d8fce4
tree2a4848e70562a2eda093018473082492a5cd6661
parent1b48eef4caf7fa3aba0ee1a3473e0d46487d20ea
Manipulation: Switch rnoInnerhtml to a version more performant in IE

IE versions greater than 9 do not handle the old regular expression well
with large html content. This is due to the use of a non-capturing group
after a very common html character (<).

Test suite: http://jsfiddle.net/Lwa0t5rp/3/
Microsoft bug: https://connect.microsoft.com/IE/feedback/details/1736512/

(cherry-picked from d4def22e4cd1c2eb2571f449e226b38384fb6d81)

Fixes gh-2563
Closes gh-2574
src/manipulation.js