4 ms·
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 t
by dullcrisp 15y ago
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.
- kijin 15y agooverflow: hidden?
- dullcrisp 15y agoAh, 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.
- kijin 15y agoWell, 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.