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 708de89..e673e2f 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 ) ?