From c271f92028e4a3a1cf72e6d180ba43161cd8f7cf Mon Sep 17 00:00:00 2001 From: Hugo Fabricio de Sousa Date: Fri, 9 Sep 2016 14:36:48 -0300 Subject: [PATCH] Fixed category tag generation --- src/Torann/PodcastFeed/Manager.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Torann/PodcastFeed/Manager.php b/src/Torann/PodcastFeed/Manager.php index e11d0fb..34edcb5 100755 --- a/src/Torann/PodcastFeed/Manager.php +++ b/src/Torann/PodcastFeed/Manager.php @@ -262,7 +262,8 @@ private function generate() // Create the if ($this->category !== null) { - $category = $dom->createElement("itunes:category", $this->category); + $category = $dom->createElement("itunes:category"); + $category->setAttribute("text", $this->category); $channel->appendChild($category); }