diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 16:09:30 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 16:09:30 -0700 |
commit | 5711fd77e33646e11340c5fc8997cdc15fe76f25 (patch) | |
tree | df271681d07085e561cc038931969f75631e1d13 /FS/FS/Mason.pm | |
parent | 02533bdefedd9541d55a8655a0ee7b3a835019b7 (diff) |
new escape flags in RT 3.8.12+ and 4.0.6+
Diffstat (limited to 'FS/FS/Mason.pm')
-rw-r--r-- | FS/FS/Mason.pm | 2 |
1 files changed, 2 insertions, 0 deletions
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( |