[Tickets #6024] Hard wrap in preference texarea breaks long URLs in IE
bugs at horde.org
bugs at horde.org
Thu Dec 20 18:11:11 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=6024
-----------------------------------------------------------------------
Ticket | 6024
Created By | jason at linuxbox.com
Summary | Hard wrap in preference texarea breaks long URLs in IE
Queue | Horde Framework Packages
Version | HEAD
Type | Enhancement
State | New
Priority | 1. Low
Owners |
-----------------------------------------------------------------------
jason at linuxbox.com (2007-12-20 13:11) wrote:
The file templates/prefs/textarea.inc uses the attribute wrap="hard" IE
inserts line break characters where the wrapping occurs before sending the
data back to the server. If a long URL is entered as part of a user's
signature, the URL is broken. Firefox does not respect the wrap attribute
and therefore does not exhibit this problem. Two possible solutions are:
1 - Use wrap="soft" -- this will wrap in the browser, but be sent to the
server without line breaks.
2 - Don't use the wrap attribute at all (it's not part of the HTML 4 or
XHTML standards) and have the wrapping done on the server side using
String::wrap which prevents breaking long words (or URLs)
More information about the bugs
mailing list