|
|
@ -187,7 +187,11 @@ module.exports = function smartquotes(state) { |
|
|
|
/*eslint max-depth:0*/ |
|
|
|
var blkIdx; |
|
|
|
|
|
|
|
if (!state.md.options.typographer) { return; } |
|
|
|
var typographerOption = state.md.options.typographer; |
|
|
|
if (!typographerOption) { return; } |
|
|
|
|
|
|
|
var optionIsObject = typeof typographerOption === 'object'; |
|
|
|
if (optionIsObject && !typographerOption.quotes) { return; } |
|
|
|
|
|
|
|
for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) { |
|
|
|
|
|
|
|