Browse Source

Merge pull request #102 from loveencounterflow/dev

rules must reference this.rules in renderInline
pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
86c4409f87
  1. 5
      lib/renderer.js

5
lib/renderer.js

@ -289,10 +289,11 @@ function Renderer() {
Renderer.prototype.renderInline = function (tokens, options) {
var result = '';
var result = '',
_rules = this.rules;
for (var i = 0, len = tokens.length; i < len; i++) {
result += rules[tokens[i].type](tokens, i, options);
result += _rules[tokens[i].type](tokens, i, options);
}
return result;

Loading…
Cancel
Save