Commit 97a6bdba authored by John Resig's avatar John Resig

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

parent e647a8a1
...@@ -142,7 +142,7 @@ jQuery.extend({ ...@@ -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 = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment