diff --git a/ecrire/inc_texte.php3 b/ecrire/inc_texte.php3 index 7ff43acfc1bbccb2f0bf3b39057ffcee32410b80..aa6bad59a96bed1d0a2599bc507732121454a56c 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>"; }