Browse Source

.attrPush() -> .attrJoin() in fenced block renderer

pull/186/head
Vitaly Puzrin 9 years ago
parent
commit
d196089874
  1. 2
      lib/renderer.js

2
lib/renderer.js

@ -36,7 +36,7 @@ default_rules.fence = function (tokens, idx, options, env, slf) {
if (info) { if (info) {
langName = info.split(/\s+/g)[0]; langName = info.split(/\s+/g)[0];
token.attrPush([ 'class', options.langPrefix + langName ]); token.attrJoin('class', options.langPrefix + langName);
} }
if (options.highlight) { if (options.highlight) {

Loading…
Cancel
Save