From: Ivan Kohler Date: Thu, 7 Jun 2012 23:09:30 +0000 (-0700) Subject: new escape flags in RT 3.8.12+ and 4.0.6+ X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5711fd77e33646e11340c5fc8997cdc15fe76f25 new escape flags in RT 3.8.12+ and 4.0.6+ --- diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm index 7143c721b..4556b0ec7 100644 --- a/FS/FS/Mason.pm +++ b/FS/FS/Mason.pm @@ -574,6 +574,8 @@ sub mason_interps { [ 'freeside' => '%%%FREESIDE_DOCUMENT_ROOT%%%' ], ], escape_flags => { 'h' => \&RT::Interface::Web::EscapeUTF8, + 'u' => \&RT::Interface::Web::EscapeURI, + 'j' => \&RT::Interface::Web::EscapeJS, 'js_string' => $js_string_sub, }, compiler => HTML::Mason::Compiler::ToObject->new(