RE: A Proper Em Dash

You are viewing a single comment's thread:

I usually put a "non-breaking space" before the mdash. Otherwise, you might get something that looks a bit like this:

There are some good people on Hive
— such as dbooster and enginewitty.

But with a "non-breaking space" ( ) before the mdash code ( —), the mdash will never appear at the beginning of a line after a line-break:

There are some good people on Hive —
such as dbooster and enginewitty.

I love the mdash and the ndash, too. I also wrote about them in my blog maybe seven years ago. So, "Kudos!" to you for doing the same! 😃



0
0
0.000
2 comments
avatar

I hadn't even thought of that case. Hmm... is there a non-breaking hairspace in html code? I'll have to check on that!

0
0
0.000