my maddening rabbithole for the last 1-2 days has been trying to figure out why smart punctuation and text replacements work differently in various HTML inputs, contenteditable
elements, and specifically CodeMirror editors depending on whether or not you’re using a Mac or an iPhone. i wish i could just let this go, but nooo, i want my own little post composer text field that makes dumb little curly quotes, fixes ellipses, and counts my characters!