We want to make sure that curly quotes do not appear in code blocks.
Potential solution: In convert_html_quotes, loop through all nodes instead of only text nodes — only replacing curly quotes inside an "inclusive" list. (Which, of course, would exclude code)
We want to make sure that curly quotes do not appear in code blocks.
Potential solution: In
convert_html_quotes
, loop through all nodes instead of only text nodes — only replacing curly quotes inside an "inclusive" list. (Which, of course, would excludecode
)