X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=7b7218540f20d90559a9c5708adcf7cab63e4926;hb=33ee5c317d0f1aa64d8d8e567425dd8fe2789cd0;hp=a2a9b9f7956054b07a1812b32aa872c59ac35b82;hpb=958bed09da67c052dfa85c0bb8c0dc88873e5923;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index a2a9b9f..7b72185 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1479,7 +1479,7 @@ jQuery.extend({ // Convert html string into DOM nodes if ( typeof arg == "string" ) { // Trim whitespace, otherwise indexOf won't work as expected - var s = jQuery.trim(arg), div = doc.createElement("div"), tb = []; + var s = jQuery.trim(arg).toLowerCase(), div = doc.createElement("div"), tb = []; var wrap = // option or optgroup