From 5b9af2b9bc1ddcdea320b56c62b8ab8b6632d853 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 25 Nov 2005 14:37:44 +0100 Subject: [PATCH] category support for OPML export (fix again) --- opml.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/opml.php b/opml.php index 63f64a67..8317b645 100644 --- a/opml.php +++ b/opml.php @@ -54,20 +54,22 @@ if ($old_cat_title != $cat_title) { if ($old_cat_title) { - print ""; + print "\n"; } - print ""; + if ($cat_title) { + print "\n"; + } $old_cat_title = $cat_title; } } - print ""; + print "\n"; } if ($cat_mode && $old_cat_title) { - print ""; + print "\n"; } print "";