News for hackers. Stuff that matters.
Re:How does this happen (even in the source code)? by dullcrisp on Sunday March 04, 2012 @10:08PM (#3665232)
Is there any good way to support Unicode and user-submitted content, but prevent people from drawing "outside the lines," so that for example what happened to the HN front page because of this post doesn't happen?

I guess in any case when you have user-submitted content you have to have some way to deal with inappropriate content, but something like this just makes the site's interface appear broken.

Re:How does this happen (even in the source code)? by kijin on Sunday March 04, 2012 @10:22PM (#3665261)
overflow: hidden?
Re:How does this happen (even in the source code)? by dullcrisp on Sunday March 04, 2012 @10:54PM (#3665343)
Ah, so there is something simple you can set. It would probably make sense for at least Google to set that attribute on their text fields if abuse of these diacritics continues to proliferate.
Re:How does this happen (even in the source code)? by kijin on Sunday March 04, 2012 @11:00PM (#3665353)
Well, it's actually a bit more complicated, because overflow: hidden doesn't play nicely with elements that change their size depending on how much content is inside them. But it could be part of an overall solution.