]> source.dussan.org Git - jquery.git/commitdiff
Make sure that fragments containing options aren't cached.
authorjeresig <jeresig@gmail.com>
Sat, 13 Feb 2010 06:50:19 +0000 (01:50 -0500)
committerjeresig <jeresig@gmail.com>
Sat, 13 Feb 2010 06:50:19 +0000 (01:50 -0500)
src/manipulation.js

index 708de893c59ddebc4689b5875db5f832bd2904a1..e673e2fe8dc53e51974c23229a8ae95d5926f0c0 100644 (file)
@@ -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 ) ?