Sometimes, when the username at the end of a comment wraps to a new line, the dash before it gets left dangling on the previous line:
In fact, even when the username doesn't wrap, it still looks kind of ugly: the space between the dash and the username is twice as wide as the space between the comment text and the dash, even though the dash is, logically, part of the user signature rather than the comment text:
Admittedly, it's a minor problem, but the cause is pretty obvious if you look at the HTML source:
See all that whitespace between the
and the username? That's where the linebreak appears, and that's also why the space after the dash looks twice as wide as usual (since the browser renders the
as one space, and the whitespace after it as another).
And, indeed, removing the extra space, like this:
...makes the dash wrap correctly:
So, here's one for you HTML guys (and girls) at SE: please fix this extra whitespace, and make our comments look less ugly!
Ps. While I'm at it, may I suggest that, when fixing this bug, another
should be added before the dash, making the HTML look like this:
<span class="comment-copy">...</span> – <a ... class="comment-user">...
Out of the variants I tested, this gives the nicest-looking output, both when the username wraps to a new line and when it doesn't.
there for a purpose, and the purpose must've been to keep the dash from dangling like that. Most likely, someone else later edited the same code, didn't realize what the
was there for, and added a line break after it to make the indentation nicer, thus breaking it. Sure, it's a minor bug, but when a deliberate feature stops working, that's still a bug.