How do I disable smart replacements? (smart quotes, double-dash -> emdash, etc)

Question in subject.

I’m trying to write programming documentation, and in multiple browsers I’m unable to type programming literals in a literal way. Even in code blocks, I’m seeing two dashes being automatically replaced with emdashes (a syntax error, if anyone copy-pastes to the shell), and single quotes being replaced with unicode (closing) smart quotes.

I checked the OS settings, and substitutions are off; I checked the browser’s settings, and substitutions are off there, as well.

2 Likes

+1

Automated curly quotes were breaking some things for me last week, and the automated em dash was breaking things the week before that. I had to copy in the correct characters from a text editor, one instance at a time.

1 Like

I just ran into this with smart quotes. Took this video to show the issue. Turns out if you highlight the smart quotes and type in the quote again, or if you “undo” it resets to dumb quotes.

Previously those characters weren’t replaced by typographic ones if paragraph or character style was Code. This apparently broke either in the new editor (the one with columns and the canvas layout) or generally with some update.

Time to send some /feedback to these folks.

Absolutely infuriating behaviour. It is a default system feature. Turn the substitution on or off in macos or browser and it is gone BUT not in Coda!
I construct my LESS CSS code in table cells and every time I need to copy/past it from outside instead it of writing it directly in the cell or I forget or miss the auto replacement and the code is corrupted.

I agree, there’s room for improvement regarding all autocompletions

Related posts

Hopeful

The recent default datetime feature makes me hopeful that this can be solved in a similar manner though!