Avoid breaking the layout when there is some very long text (ex,: URLs)
- Status
- Open
- Subject
- Avoid breaking the layout when there is some very long text (ex,: URLs)
- Version
- 8.x
- Category
- Feature request
- Feature
- Theme: Look & feel, Styles, CSS, Theme Control Center
- Resolution status
- Duplicate
- Submitted by
- Marc Laporte
- Lastmod by
- Marc Laporte, luci
- Rating
- Related-to
- Description
- "htmlwrap() is a function which wraps HTML by breaking long words and preventing them from damaging your layout. This function will NOT insert <br /> tags every "width" characters as in the PHP wordwrap() function. HTML wraps automatically, so this function only ensures wrapping at $width characters is possible. Use in places where a page will accept user input in order to create HTML output like in forums or blog comments.
This function will not insert line breaks within HTML tags or HTML entities such as . It treats all HTML entities as single characters, when taking them into account for string length. It will also attempt to find logical line-break insertion points (like after periods or slashes) before inserting breaks at $width characters." - Importance
- 3
- Easy to solve?
- 5
- Priority
- 15
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4140
- Created
- Saturday 28 January, 2012 05:32:33 UTC
by Marc Laporte - LastModif
- Monday 30 April, 2018 11:23:05 UTC