aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-02-13 01:50:19 -0500
committerjeresig <jeresig@gmail.com>2010-02-13 01:50:19 -0500
commit8b86004f9cf146f7e1e28c8ca98b893f9feac472 (patch)
tree901927ca21d07c4d8f18c668d07092a1766c59c1 /src/manipulation.js
parent7a467ed9360c2c55ea55a56e5767c9581e4f4f69 (diff)
downloadjquery-8b86004f9cf146f7e1e28c8ca98b893f9feac472.tar.gz
jquery-8b86004f9cf146f7e1e28c8ca98b893f9feac472.zip
Make sure that fragments containing options aren't cached.
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 708de893c..e673e2fe8 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/i,
+ rnocache = /<script|<object|<embed|<option/i,
rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, // checked="checked" or checked (html5)
fcloseTag = function( all, front, tag ) {
return rselfClosing.test( tag ) ?