]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/af_gocomics/init.php
remove $link
[tt-rss.git] / plugins / af_gocomics / init.php
index da5242595e93da146d426913a9a68cdbaca5fc6c..39dd0c8520cfe011f24fdeb909cc48dedf39e504 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 class Af_GoComics extends Plugin {
-
-       private $link;
        private $host;
 
        function about() {
@@ -11,7 +9,6 @@ class Af_GoComics extends Plugin {
        }
 
        function init($host) {
-               $this->link = $host->get_link();
                $this->host = $host;
 
                $host->add_hook($host::HOOK_ARTICLE_FILTER, $this);
@@ -44,7 +41,7 @@ class Af_GoComics extends Plugin {
                                        }
 
                                        if ($basenode) {
-                                               $article["content"] = $doc->saveXML($basenode, LIBXML_NOEMPTYTAG);
+                                               $article["content"] = $doc->saveXML($basenode);
                                                $article["plugin_data"] = "gocomics,$owner_uid:" . $article["plugin_data"];
                                        }
                                }