diff --git a/library/Rain/Tpl/Parser.php b/library/Rain/Tpl/Parser.php index 23e340b..b314b9a 100644 --- a/library/Rain/Tpl/Parser.php +++ b/library/Rain/Tpl/Parser.php @@ -629,7 +629,7 @@ protected function modifierReplace($html) { $this->blackList($html); if (strpos($html,'|') !== false && substr($html,strpos($html,'|')+1,1) != "|") { - preg_match('/([\$a-z_A-Z0-9\(\),\[\]"->]+)\|([\$a-z_A-Z0-9\(\):,\[\]"->\s]+)/i', $html,$result); + preg_match('/([\$a-z_A-Z0-9\(\),\[\]"\'->]+)\|([\$a-z_A-Z0-9\(\):,\[\]"\'->\s]+)/i', $html,$result); $function_params = $result[1]; $result[2] = str_replace("::", "@double_dot@", $result[2] );