]> git.mxchange.org Git - friendica.git/blobdiff - include/html2plain.php
forumlist: function get_feature_default()
[friendica.git] / include / html2plain.php
index f09087e0b0179fab68fb4e42328ba5037dbabf61..1d5910d83bea975a11a02b2aef1e8c3eba01e68b 100644 (file)
@@ -113,12 +113,6 @@ function html2plain($html, $wraplength = 75, $compact = false)
 
        $message = str_replace("\r", "", $html);
 
-       // replace all hashtag addresses
-/*     if (get_config("system", "remove_hashtags_on_export")) {
-               $pattern = '/#<a.*?href="(.*?)".*?>(.*?)<\/a>/is';
-               $message = preg_replace($pattern, '#$2', $message);
-       }
-*/
        $doc = new DOMDocument();
        $doc->preserveWhiteSpace = false;