parent
7b4ca18ba8
commit
775cce4dc3
@ -0,0 +1,11 @@
|
||||
--- application/bookmark/LinkUtils.php 2019-04-18 22:08:00.087837000 +0200
|
||||
+++ ../Shaarli-0.10.3/application/bookmark/LinkUtils.php 2019-03-09 14:45:54.988629000 +0100
|
||||
@@ -140,7 +140,7 @@
|
||||
*/
|
||||
function text2clickable($text, $redirector = '', $urlEncode = true)
|
||||
{
|
||||
- $regex = '!(((?:https?|ftp|file)://|apt:|magnet:)\S+[a-z0-9_\(\)]/?)!si';
|
||||
+ $regex = '!(((?:https?|ftp|file)://|apt:|magnet:|@)\S+[a-z0-9_\(\)]/?)!si';
|
||||
|
||||
if (empty($redirector)) {
|
||||
return preg_replace($regex, '<a href="$1">$1</a>', $text);
|
Loading…
Reference in new issue