From 0d73f4ee78be759105988263d5e72ae69aba9023 Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 2 Jul 2006 10:03:37 +0000 Subject: [PATCH] Textarea should not use proprietary wrap attribute (#1512681). Original code used wrap=hard and forced new lines, when long lines are added. Attribute was switched to wrap=virtual (#495073, v.1.214) in order to fix spacing issues. wrap=virtual creates unwrapped long lines in IE, Firefox and Opera. Same happens when attribute is not set. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11340 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/compose.php b/src/compose.php index 9e429b69..cc73869c 100644 --- a/src/compose.php +++ b/src/compose.php @@ -1193,18 +1193,20 @@ function showInputForm ($session, $values=false) { showComposeButtonRow(); } - /* why this distinction? */ + /** + * When message is compose in new window, different colors are used. + */ if ($compose_new_win == '1') { echo ' ' . "\n" . ' ' . "\n" . '