]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/af_explosm/init.php
remove $link
[tt-rss.git] / plugins / af_explosm / init.php
index 701eafeeb15befeabf0238fa9676a97e5f1857d3..b5e34657ca1f16d17837bde9b22812e79817ad60 100644 (file)
@@ -1,7 +1,6 @@
 <?php
 class Af_Explosm extends Plugin {
 
-       private $link;
        private $host;
 
        function about() {
@@ -11,7 +10,6 @@ class Af_Explosm extends Plugin {
        }
 
        function init($host) {
-               $this->link = $host->get_link();
                $this->host = $host;
 
                $host->add_hook($host::HOOK_ARTICLE_FILTER, $this);
@@ -44,7 +42,7 @@ class Af_Explosm extends Plugin {
                                        }
 
                                        if ($basenode) {
-                                               $article["content"] = $doc->saveXML($basenode, LIBXML_NOEMPTYTAG);
+                                               $article["content"] = $doc->saveXML($basenode);
                                                $article["plugin_data"] = "explosm,$owner_uid:" . $article["plugin_data"];
                                        }
                                }