|
@ -26,8 +26,6 @@ function process_inlines(tokens, state) { |
|
|
for (i = 0; i < tokens.length; i++) { |
|
|
for (i = 0; i < tokens.length; i++) { |
|
|
token = tokens[i]; |
|
|
token = tokens[i]; |
|
|
|
|
|
|
|
|
if (token.type !== 'text' || QUOTE_TEST_RE.test(token.text)) { continue; } |
|
|
|
|
|
|
|
|
|
|
|
thisLevel = tokens[i].level; |
|
|
thisLevel = tokens[i].level; |
|
|
|
|
|
|
|
|
for (j = stack.length - 1; j >= 0; j--) { |
|
|
for (j = stack.length - 1; j >= 0; j--) { |
|
@ -35,6 +33,8 @@ function process_inlines(tokens, state) { |
|
|
} |
|
|
} |
|
|
stack.length = j + 1; |
|
|
stack.length = j + 1; |
|
|
|
|
|
|
|
|
|
|
|
if (token.type !== 'text') { continue; } |
|
|
|
|
|
|
|
|
text = token.content; |
|
|
text = token.content; |
|
|
pos = 0; |
|
|
pos = 0; |
|
|
max = text.length; |
|
|
max = text.length; |
|
|