Browse Source

Merge pull request #276 from arve0/fix_fence_renderer

fence renderer: fix concat of class array
pull/293/head
Alex Kocharin 8 years ago
committed by GitHub
parent
commit
126bc6bd8b
  1. 2
      lib/renderer.js

2
lib/renderer.js

@ -66,7 +66,7 @@ default_rules.fence = function (tokens, idx, options, env, slf) {
if (i < 0) {
tmpAttrs.push([ 'class', options.langPrefix + langName ]);
} else {
tmpAttrs[i] += ' ' + options.langPrefix + langName;
tmpAttrs[i][1] += ' ' + options.langPrefix + langName;
}
// Fake token just to render attributes

Loading…
Cancel
Save