|
@ -83,11 +83,6 @@ ParserInline.prototype.skipToken = function (state) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
for (i = 0; i < len; i++) { |
|
|
for (i = 0; i < len; i++) { |
|
|
// TODO: change it to rule chains somehow
|
|
|
|
|
|
if ([ 'autolink', 'backticks', 'escape', 'htmltag', 'links', 'text' ].indexOf(this._rules[i].name) === -1) { |
|
|
|
|
|
continue; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (this._rules[i](state, true)) { |
|
|
if (this._rules[i](state, true)) { |
|
|
state.cacheSet(pos, state.pos); |
|
|
state.cacheSet(pos, state.pos); |
|
|
return; |
|
|
return; |
|
|