I keep seeing a bunch of questions with code that use smart quotes instead of regular quotes, which not only messes up syntax highlighting but doesn't run properly either. For example:
console.log(“Smart quotes.”)
Compared to:
console.log("Smart quotes.")
For those unfamiliar with smart quotes, look closely and notice that they are slightly slanted. I suspect that they are a result of people writing questions/answers from their smartphones
These are really annoying and have no benefit ever. Can we automatically convert all smart quotes in new posts into regular quotes?
”
in their code? People might want to ask something like "How to automatically replace”
with"
....\x{00A0}
.