diff options
Diffstat (limited to 'lib/page/html.js')
-rw-r--r-- | lib/page/html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/page/html.js b/lib/page/html.js index 016d75e..bd9ec91 100644 --- a/lib/page/html.js +++ b/lib/page/html.js @@ -110,7 +110,7 @@ HTMLPipeline.prototype.transformCodeBlocks = function() { return Promise(this.opts.onCodeBlock(source, lang)) .then(function(blk) { - if (blk.html !== true) { + if (blk.html === false) { $code.text(blk.body); } else { $code.html(blk.body); |