I see from
http://www.masonhq.com/docs/manual/Devel.html#userdefined_escapes
that the way to override the default escaping at startup time is
PerlSetVar MasonEscapeFlags "h => \&HTML::Mason::Escapes::basic_html_escape"
or
$ah->interp->set_escape( h => \&HTML::Mason::Escapes::basic_html_escape );
Should it be possible to pass a mason_escape_flags parameter to the
constructor?
I would have thought so since I thought that all mason PerlSetVars
had uncamelcasedandunderscored equivalents. Obviously not though
since this gets carped out: "The following parameter was passed in
the call to HTML::Mason::ApacheHandler->new() but was not listed in
the validation options: mason_escape_flags".
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users