projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
028dc3c
)
Bugfix: Links were ignored sometimes. (Due to a missing default value)
author
Michael Vogel
<icarus@dabo.de>
Sat, 19 Oct 2013 05:11:50 +0000
(07:11 +0200)
committer
Michael Vogel
<icarus@dabo.de>
Sat, 19 Oct 2013 05:11:50 +0000
(07:11 +0200)
include/html2plain.php
patch
|
blob
|
history
diff --git
a/include/html2plain.php
b/include/html2plain.php
index 3e4c0e8db061c0476b760fb77bd5f4ddf39a893d..dfb577abe18018714b4518dd4319ec457addc18e 100644
(file)
--- a/
include/html2plain.php
+++ b/
include/html2plain.php
@@
-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/");