Browse Source

Bugfix: Links were ignored sometimes. (Due to a missing default value)

pull/788/head
Michael Vogel 8 years ago
parent
commit
f1154cfdd5
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      include/html2plain.php

+ 3
- 0
include/html2plain.php View 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/");


Loading…
Cancel
Save