Formatting

This commit is contained in:
Max Kostikov 2019-08-08 18:27:07 +02:00
parent 2300581c93
commit 1c2f413211

View File

@ -205,7 +205,7 @@ function zidify_text($s) {
*/
function red_zrl_callback($matches) {
// Catch and exclude trailing punctuation
// Catch and exclude trailing punctuation
if (preg_match("/[.,;:!?)]*$/i", $matches[2], $pts))
$matches[2] = substr($matches[2], 0, strlen($matches[2])-strlen($pts[0]));