X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fhtml2plain.php;h=1d5910d83bea975a11a02b2aef1e8c3eba01e68b;hb=31ad26aae2856fdf7921c53abb8ae525792a05d4;hp=f09087e0b0179fab68fb4e42328ba5037dbabf61;hpb=d3db9365cb76d6d174123056536423028c060311;p=friendica.git diff --git a/include/html2plain.php b/include/html2plain.php index f09087e0b0..1d5910d83b 100644 --- a/include/html2plain.php +++ b/include/html2plain.php @@ -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>/is'; - $message = preg_replace($pattern, '#$2', $message); - } -*/ $doc = new DOMDocument(); $doc->preserveWhiteSpace = false;