Added a fix for h1 + h2 not working. (Bug #1361)

This commit is contained in:
John Resig 2007-07-20 23:43:12 +00:00
parent e647a8a1f6
commit 97a6bdbaba

View File

@ -142,7 +142,7 @@ jQuery.extend({
if ( t.indexOf(" ") == 0 ) continue; if ( t.indexOf(" ") == 0 ) continue;
foundToken = true; foundToken = true;
} else { } else {
re = /^((\/?\.\.)|([>\/+~]))\s*([a-z]*)/i; re = /^((\/?\.\.)|([>\/+~]))\s*(\w*)/i;
if ( (m = re.exec(t)) != null ) { if ( (m = re.exec(t)) != null ) {
r = []; r = [];