Browse Source

Merge 68076696b4 into a6d1d484e5

pull/1119/merge
SerKo 1 week ago
committed by GitHub
parent
commit
b84dc854a6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      lib/renderer.mjs

2
lib/renderer.mjs

@ -40,7 +40,7 @@ default_rules.fence = function (tokens, idx, options, env, slf) {
let highlighted
if (options.highlight) {
highlighted = options.highlight(token.content, langName, langAttrs) || escapeHtml(token.content)
highlighted = options.highlight(token.content, langName, langAttrs, env) || escapeHtml(token.content)
} else {
highlighted = escapeHtml(token.content)
}

Loading…
Cancel
Save