mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Added a fix for h1 + h2 not working. (Bug #1361)
This commit is contained in:
parent
e647a8a1f6
commit
97a6bdbaba
@ -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 = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user