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.
This commit is contained in:
parent
f9381ed746
commit
3e677ec53d
@ -160,7 +160,7 @@ function red_zrl_callback($matches) {
|
|||||||
$zrl = true;
|
$zrl = true;
|
||||||
}
|
}
|
||||||
if($zrl)
|
if($zrl)
|
||||||
return $matches[1] . '[zrl=' . $matches[2] . ']' . $matches[2] . '[/zrl]';
|
return $matches[1] . '#^[zrl=' . $matches[2] . ']' . $matches[2] . '[/zrl]';
|
||||||
return $matches[0];
|
return $matches[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user