Remove condition
This commit is contained in:
parent
832adf92a6
commit
4382e53acb
@ -206,8 +206,8 @@ function zidify_text($s) {
|
||||
function red_zrl_callback($matches) {
|
||||
|
||||
// Catch and exclude trailing punctuation
|
||||
if (preg_match("/[.,;:!?)]*$/i", $matches[2], $pts))
|
||||
$matches[2] = substr($matches[2], 0, strlen($matches[2])-strlen($pts[0]));
|
||||
preg_match("/[.,;:!?)]*$/i", $matches[2], $pts);
|
||||
$matches[2] = substr($matches[2], 0, strlen($matches[2])-strlen($pts[0]));
|
||||
|
||||
$zrl = is_matrix_url($matches[2]);
|
||||
|
||||
|
Reference in New Issue
Block a user