From 4924f4c6d6d03d39471de363b8d368c8edad8f3d Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Wed, 24 Oct 2012 18:22:40 +0200 Subject: Correction bugs + amélioration design MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/lib_rss.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/lib_rss.php') diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 7d01a4a0f..2a8921da0 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -79,7 +79,7 @@ function opml_export ($cats) { $txt .= '' . "\n"; foreach ($cat['feeds'] as $feed) { - $txt .= "\t" . '' . "\n"; + $txt .= "\t" . '' . "\n"; } $txt .= '' . "\n"; @@ -88,6 +88,10 @@ function opml_export ($cats) { return $txt; } +function cleanText ($text) { + return preg_replace ('/&[\w]+;/', '', $text); +} + function opml_import ($xml) { $opml = @simplexml_load_string ($xml); -- cgit v1.2.3