diff --git a/src/manipulation.js b/src/manipulation.js index 738e21e4d..f52a5c432 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -31,7 +31,11 @@ define( [ var rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, rnoshimcache = new RegExp( "<(?:" + nodeNames + ")[\\s/>]", "i" ), rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi, - rnoInnerhtml = /<(?:script|style|link)/i, + + // Support: IE 10-11, Edge 10240+ + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /