From 5feda7b1df7af182e6071f5a89248b52d58b2c7a Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Thu, 7 Apr 2005 21:14:21 +0000
Subject: [PATCH] =?UTF-8?q?celui-l=C3=A0=20ramait=20vraiment=20sur=20spip-?=
 =?UTF-8?q?contrib,=20et=20on=20ne=20peut=20pas=20dire=20qu'il=20soit=20in?=
 =?UTF-8?q?dispensable=20de=20v=C3=A9rifier=20qu'il=20n'y=20a=20pas=20de?=
 =?UTF-8?q?=20<=20ou=20>=20=C3=A0=20l'int=C3=A9rieur=20des=20tags=20<...>?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/inc_filtres.php3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/inc_filtres.php3 b/ecrire/inc_filtres.php3
index 4835b6dff0..2f0fc43645 100644
--- a/ecrire/inc_filtres.php3
+++ b/ecrire/inc_filtres.php3
@@ -123,7 +123,7 @@ function supprimer_numero($texte) {
 
 // Suppression basique et brutale de tous les <...>
 function supprimer_tags($texte, $rempl = "") {
-	$texte = preg_replace(",<([^>\"']*|\"[^>\"]*\"|'[^>']*')*>,", $rempl, $texte);
+	$texte = preg_replace(",<[^>]*>,U", $rempl, $texte);
 	// ne pas oublier un < final non ferme
 	$texte = str_replace('<', ' ', $texte);
 	return $texte;
-- 
GitLab