If a user types in a long line without any spaces or white space, it will break formating by going wider than the current element. Something like:
HA
I know that this is a really old problem and since I had the same problem I searched for a easy solution. As mentioned in the first post I decided to use the php-function wordwrap.
See the following code example for information ;-)
", true); ?> test test
Hope this helps.