Comment by taco_emoji

4 days ago

Spent the whole essay typing them incorrectly. There should not be spaces surrounding an emdash.

Incorrect. Merriam-Webster allows for both. And the article itself mentions that wrapping it in spaces is the AP style.

Personally, I find it ugly and less readable without spaces.