Hacker News new | past | comments | ask | show | jobs | submit | asdfghjkl's comments login

Security Issue (Availability)

Disable the use of "pre" tags or enforce maximum line lengths for "pre" sections on comment threads. Long "pre" lines widen the entire page width so you have to keep scrolling right and left to read. In addition to accidental problems, you might also run into problems with trolls.

http://en.wikipedia.org/wiki/Forum_spam#Page_widening


It looks like this item is a duplicate of a previous one

http://news.ycombinator.com/item?id=280852

The other post gives a nice example of where the problem actually occurs. Note that contrary to what the other item says, the issue isn't actually "code" tags per se, but "pre" tags.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: