]> git.mxchange.org Git - friendica.git/blobdiff - include/html2plain.php
Bugfix: Links were ignored sometimes. (Due to a missing default value)
[friendica.git] / include / html2plain.php
index 3e4c0e8db061c0476b760fb77bd5f4ddf39a893d..dfb577abe18018714b4518dd4319ec457addc18e 100644 (file)
@@ -82,6 +82,9 @@ function collecturls($message) {
 
        $urls = array();
        foreach ($result as $treffer) {
+
+               $ignore = false;
+
                // A list of some links that should be ignored
                $list = array("/user/", "/tag/", "/group/", "/profile/", "/search?search=", "/search?tag=", "mailto:", "/u/", "/node/",
                                "//facebook.com/profile.php?id=", "//plus.google.com/", "//twitter.com/");