|
|
@ -61,7 +61,7 @@ default_rules.image = function (tokens, idx, options, env, self) { |
|
|
|
token.attrs[token.attrIndex('alt')][1] = |
|
|
|
self.renderInlineAsText(token.children, options, env); |
|
|
|
|
|
|
|
return self.renderToken(tokens, idx, options, env, self); |
|
|
|
return self.renderToken(tokens, idx, options); |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -234,7 +234,7 @@ Renderer.prototype.renderInline = function (tokens, options, env) { |
|
|
|
if (typeof rules[type] !== 'undefined') { |
|
|
|
result += rules[type](tokens, i, options, env, this); |
|
|
|
} else { |
|
|
|
result += this.renderToken(tokens, i, options, env); |
|
|
|
result += this.renderToken(tokens, i, options); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|