forked from extern/egroupware
Fix broken mail inline links where links contains another url inside their urls.
This commit is contained in:
parent
f8a707274a
commit
34a50af358
@ -111,7 +111,7 @@ class Html
|
|||||||
$match[4] = ">";
|
$match[4] = ">";
|
||||||
}
|
}
|
||||||
//error_log(__METHOD__.__LINE__.array2string($match));
|
//error_log(__METHOD__.__LINE__.array2string($match));
|
||||||
return $match[1]."<a href=\"http://www".$match[2].$match[3]."\" target=\"_blank\">"."www".$match[2].$match[3]."</a>".$match[4];
|
return $match[1] == "" ? "" : $match[1]."<a href=\"http://www".$match[2].$match[3]."\" target=\"_blank\">"."www".$match[2].$match[3]."</a>".$match[4];
|
||||||
}, $result3 );
|
}, $result3 );
|
||||||
}
|
}
|
||||||
return $result4;
|
return $result4;
|
||||||
|
Loading…
Reference in New Issue
Block a user