MacOS – How to stop auto-replacement of hyphens with horizontal rule

autocorrectmacostextedit

If I wanted a horizontal rule, I'd type a string of em dashes. I can't find easily a way to disable this over-feature in TextEdit prefs ('Text replacement' is unticked) nor System Prefs ('Correct spelling automatically' is unticked). Thanks!

Best Answer

In the Edit menu, go to Substitutions, and uncheck Smart Dashes.