It also uses them correctly—with no spaces. I have never seen anyone do that on the web.
(Lots of people use en-dashes set open instead of em-dashes set closed for the uses for which they are interchangeable as a matter of stylistic preference, though.)
Punctuation is usually set closed on at least one, if not both, sides, though there are exceptions.