From fe178992c3af4d167b8d7885bbdf79a1345958ee Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 16 Jan 2017 18:20:09 -0700 Subject: [PATCH] Update v_mailto.php --- secure/v_mailto.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/secure/v_mailto.php b/secure/v_mailto.php index 4a0c756af2..358ffd273d 100644 --- a/secure/v_mailto.php +++ b/secure/v_mailto.php @@ -41,11 +41,10 @@ //define a function to remove html tags function remove_tags($string) { - // ----- remove HTML TAGs ----- + //remove HTML tags $string = preg_replace ('/<[^>]*>/', ' ', $string); - // remove control characters - + //remove control characters $string = str_replace("\r", '', $string); // --- replace with empty space $string = str_replace("\n", ' ', $string); // --- replace with space $string = str_replace("\t", ' ', $string); // --- replace with space