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