That shouldn't be happening, try resetting your formatter preferences
Strange. I did that and now is really Ok, but I don't remember that I would change anything special in below settings.
bug in 18.3 where they get corrupted on an upgrade - very annoying, and very sorry you ran into this one
it's been fixed such that in 18.4 and going forward, this won't happen again