diff options
author | friendica <info@friendica.com> | 2014-02-06 13:54:39 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-06 13:54:39 -0800 |
commit | 3e677ec53de7517c249114dd30539141fbde85e3 (patch) | |
tree | 0e715f778ccda1260176a7c4db60494670eb3f55 /include | |
parent | f9381ed746009348462f4f96ed397fabab4e172e (diff) | |
download | volse-hubzilla-3e677ec53de7517c249114dd30539141fbde85e3.tar.gz volse-hubzilla-3e677ec53de7517c249114dd30539141fbde85e3.tar.bz2 volse-hubzilla-3e677ec53de7517c249114dd30539141fbde85e3.zip |
add bookmark tag to naked links if they're red sites. We can do this because red links are linkified when the post is submitted. Can't do this for other naked links because they only get linkified during display and won't have a taxonomy object attached to the message.
Diffstat (limited to 'include')
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index b7919ade6..1a26198da 100755 --- a/include/items.php +++ b/include/items.php @@ -160,7 +160,7 @@ function red_zrl_callback($matches) { $zrl = true; } if($zrl) - return $matches[1] . '[zrl=' . $matches[2] . ']' . $matches[2] . '[/zrl]'; + return $matches[1] . '#^[zrl=' . $matches[2] . ']' . $matches[2] . '[/zrl]'; return $matches[0]; } |