From 50763fb50f151ce91eedb25cab1557c8f885fa0d Mon Sep 17 00:00:00 2001
From: Cerdic <cedric@yterium.com>
Date: Sun, 29 May 2011 18:06:51 +0000
Subject: [PATCH] =?UTF-8?q?Nous=20ne=20supportons=20plus=20officiellement?=
 =?UTF-8?q?=20Netscape=20Navigator,=20on=20peut=20donc=20evacuer=20ce=20<f?=
 =?UTF-8?q?orm><div></div></form>=20autour=20du=20textarea=20g=C3=A9n?=
 =?UTF-8?q?=C3=A9r=C3=A9=20pour=20<cadre>?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

"While textarea is most useful within a form, XHTML 1.0 allows textarea in any block-level or inline element other than button. However, Netscape Navigator will not display any textarea elements outside of a form."
---
 ecrire/inc/texte_mini.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/inc/texte_mini.php b/ecrire/inc/texte_mini.php
index f84489ed24..1d46887fcd 100644
--- a/ecrire/inc/texte_mini.php
+++ b/ecrire/inc/texte_mini.php
@@ -124,7 +124,7 @@ function traiter_echap_cadre_dist($regs) {
 		$n+=floor(strlen($l)/60)+1;
 	$n = max($n,2);
 	$echap = "\n<textarea readonly='readonly' cols='40' rows='$n' class='spip_cadre' dir='ltr'>$echap</textarea>";
-	return generer_form_ecrire('', $echap, " method='get'");
+	return $echap;
 }
 // http://doc.spip.org/@traiter_echap_frame_dist
 function traiter_echap_frame_dist($regs) {
-- 
GitLab