diff --git a/lib/rules_core/smartquotes.js b/lib/rules_core/smartquotes.js index bff7ef7..faf4dee 100644 --- a/lib/rules_core/smartquotes.js +++ b/lib/rules_core/smartquotes.js @@ -181,7 +181,7 @@ module.exports = function smartquotes(state) { /*eslint max-depth:0*/ var blkIdx; - if (!state.md.options.typographer) { return; } + if (!state.md.options.typographer && !state.md.options.smartQuotes) { return; } for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {