diff options
author | friendica <info@friendica.com> | 2013-04-15 03:00:08 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-04-15 03:00:08 -0700 |
commit | 7e6890832b15d8417cb812cbaa00d3ed8c954ef0 (patch) | |
tree | ff94dd547504ac2f3a65a18bda3a8804fdb5da43 /include/text.php | |
parent | ab5151c470e630aa3864bbed927dd02f7b192166 (diff) | |
download | volse-hubzilla-7e6890832b15d8417cb812cbaa00d3ed8c954ef0.tar.gz volse-hubzilla-7e6890832b15d8417cb812cbaa00d3ed8c954ef0.tar.bz2 volse-hubzilla-7e6890832b15d8417cb812cbaa00d3ed8c954ef0.zip |
turn all Red links into zrls (not the old zrls, the new bbcode zrl which means we can zidify them)
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |