From a58987e30cc9083c2df56557efa76e01ed67853b Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Mon, 21 Sep 2015 13:29:35 -0400 Subject: [PATCH] commented out filter that breaks tokens --- CRM/Utils/Token.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Utils/Token.php b/CRM/Utils/Token.php index 0f3c069a4e..bc7c4d0d89 100644 --- a/CRM/Utils/Token.php +++ b/CRM/Utils/Token.php @@ -619,7 +619,7 @@ class CRM_Utils_Token { $str ); - $str = preg_replace('/\\\\|\{(\s*)?\}/', ' ', $str); + //$str = preg_replace('/\\\\|\{(\s*)?\}/', ' ', $str); //WHY you do this? return $str; } @@ -775,7 +775,7 @@ class CRM_Utils_Token { * @static */ public static function unescapeTokens(&$str) { - $str = preg_replace('/\\\\|\{(\{\w+\.\w+\})\}/', '\\1', $str); + //$str = preg_replace('/\\\\|\{(\{\w+\.\w+\})\}/', '\\1', $str); } /** -- 2.25.1