From: Andrew Dolgov Date: Fri, 25 Nov 2005 13:37:44 +0000 (+0100) Subject: category support for OPML export (fix again) X-Git-Tag: schema_feature_freeze_for_1.1~95 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;ds=sidebyside;h=5b9af2b9bc1ddcdea320b56c62b8ab8b6632d853;p=tt-rss.git category support for OPML export (fix again) --- 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 "";