htmlwrap
Component ID
24027
Component name
htmlwrap
Component type
module
Component security advisory coverage
not-covered
Downloads
1006
Component created
Component changed
Component body
This is a simple filter module which wraps input by breaking long words and preventing them from damaging your layout. This is a common problem on site with newbie or troll commenters who post long urls, or nonsense words to destroy the site layout. You cannot generally wrap a single word with css or table layouts.
This filter will add a line break into words at a certain length and will not break html like long urls in a tags.
Based on the script htmlwrap by Brian Huisman AKA GreyWyvern at http://www.greywyvern.com/code/php/htmlwrap_1.1.php.txt