From eabaac9ccccc70d612fcb3428f958668ebba9766 Mon Sep 17 00:00:00 2001 From: ARNO* <arno@rezo.net> Date: Sun, 14 Sep 2003 13:11:45 +0000 Subject: [PATCH] Bug affichage <cadre>: wrap="off" (et non wrap="no") --- ecrire/inc_texte.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/inc_texte.php3 b/ecrire/inc_texte.php3 index 7ff43acfc1..aa6bad59a9 100644 --- a/ecrire/inc_texte.php3 +++ b/ecrire/inc_texte.php3 @@ -176,7 +176,7 @@ function echappe_html($letexte,$source) { $lecode = trim(entites_html($regs[8])); $total_lignes = count(explode("\n", $lecode)) + 1; - $les_echap[$num_echap] = "<form><textarea cols='40' rows='$total_lignes' wrap='no' class='spip_cadre'>".$lecode."</textarea></form>"; + $les_echap[$num_echap] = "<form><textarea cols='' style='width: 100%;' rows='$total_lignes' wrap='off' class='spip_cadre'>".$lecode."</textarea></form>"; } -- GitLab