From 7e6890832b15d8417cb812cbaa00d3ed8c954ef0 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 15 Apr 2013 03:00:08 -0700 Subject: turn all Red links into zrls (not the old zrls, the new bbcode zrl which means we can zidify them) --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index f0251494d..360a7357f 100644 --- a/include/text.php +++ b/include/text.php @@ -1662,7 +1662,7 @@ function normalise_openid($s) { function undo_post_tagging($s) { $matches = null; - $cnt = preg_match_all('/([@#])\[url=(.*?)\](.*?)\[\/url\]/ism',$s,$matches,PREG_SET_ORDER); + $cnt = preg_match_all('/([@#])\[zrl=(.*?)\](.*?)\[\/zrl\]/ism',$s,$matches,PREG_SET_ORDER); if($cnt) { foreach($matches as $mtch) { $s = str_replace($mtch[0], $mtch[1] . $mtch[3],$s); -- cgit v1.2.3