From d6ae26ff7d7f02587dce5b22bf920063aa8fe980 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 25 Jul 2004 00:12:33 +0000 Subject: [PATCH] Bug fixes --- drupal/modules/cvsfilter.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drupal/modules/cvsfilter.module b/drupal/modules/cvsfilter.module index 84f5127..f703753 100644 --- a/drupal/modules/cvsfilter.module +++ b/drupal/modules/cvsfilter.module @@ -17,8 +17,8 @@ function cvsfilter_filter($op, $text = "") { return form_group(t("URL Filter"), t("CVS Filter is enabled. This means that cvs: style URLs will automatically be pointed at the appropriate location.")); case "process": //$text = " " . $text . " "; + $text = preg_replace("//i", '', $text); $text = preg_replace("//i", '', $text); - $text = preg_replace("//i", '', $text); // $text = preg_replace("<([ \n\r\t\(])([A-Za-z0-9._-]+@[A-Za-z0-9._-]+\.[A-Za-z]{2,4})([.,]?)(?=[ \n\r\t\)])>i", '\1\2\3', $text); // $text = preg_replace("<([ \n\r\t\(])(www\.[a-zA-Z0-9@:%_~#?&=.,/;-]*[a-zA-Z0-9@:%_~#\&=/;-])([.,?]?)(?=[ \n\r\t\)])>i", '\1\2\3', $text); //$text = substr($text, 1, -1); -- 2.30.2