aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-02-13 03:30:45 -0500
committerjeresig <jeresig@gmail.com>2010-02-13 03:30:45 -0500
commitc1ac9fdf45632f0e0d1f7183500ce45dde7319d7 (patch)
tree31a789cc19d10a53fafef90b162ead0ac45a7a89 /src/manipulation.js
parent14e1200d59345e8ece8d6edfcf75af2e90ae8b72 (diff)
downloadjquery-c1ac9fdf45632f0e0d1f7183500ce45dde7319d7.tar.gz
jquery-c1ac9fdf45632f0e0d1f7183500ce45dde7319d7.zip
Don't inject style elements using innerHTML as they will go away in IE. Fixes #5977.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index a10feae93..a58e52b6a 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -5,7 +5,7 @@ var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
rtagName = /<([\w:]+)/,
rtbody = /<tbody/i,
rhtml = /<|&#?\w+;/,
- rnocache = /<script|<object|<embed|<option/i,
+ rnocache = /<script|<object|<embed|<option|<style/i,
rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, // checked="checked" or checked (html5)
fcloseTag = function( all, front, tag ) {
return rselfClosing.test( tag ) ?