From a1ec3f828fd16a356b0cdcd6c48e2880b1895da4 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Fri, 21 Oct 2005 12:58:13 +0000
Subject: [PATCH] encore un petit bug ATOM

---
 ecrire/inc_sites.php3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ecrire/inc_sites.php3 b/ecrire/inc_sites.php3
index 341f90220f..9ce4f69008 100644
--- a/ecrire/inc_sites.php3
+++ b/ecrire/inc_sites.php3
@@ -465,11 +465,11 @@ function analyser_backend($rss, $url_syndic='') {
 
 		// Description
 		if (preg_match(',<((description|summary)([:[:space:]][^>]*)?)'
-		.'>(.*)</\1>,Uims',$item,$match)) {
+		.'>(.*)</\2[:>[:space:]],Uims',$item,$match)) {
 			$data['descriptif'] = $match[4];
 		}
 		if (preg_match(',<((content)([:[:space:]][^>]*)?)'
-		.'>(.*)</\1>,Uims',$item,$match)) {
+		.'>(.*)</\2[:>[:space:]],Uims',$item,$match)) {
 			$data['content'] = $match[4];
 		}
 
-- 
GitLab