Hi Jeremy,
Well, yes, I have it set as default to 'h' which is what I need. Is this
supposed to affect the return of $m->scomp() though ? My component is
something like this:
<%def .infobox>
<%args> $op </%args>
<div class="info">there is no <% $op %> operation here.</div>
</%def>
and the '<div class="info">' gets escaped when calling
% my $html = $m->scomp('.infobox', op=>$failop );
somewhere in the wrapping component, so that $html contains '<' stuff.
What else is having an impact on the escaping of scomp ?
--Pascal
On Thursday 29 June 2006 00:17, Jeremy Blain wrote:
> Do you have default_escape_flags set?
> http://www.masonhq.com/docs/manual/Params.html#default_escape_flags
>
> It should not escape anything by default.
>
> Pascal Fleury wrote:
> >Hi!
> >
> >I just noticed that when I call $html = $m->scomp( .loc_desc ), then $html
> > has all the special symbols HTML-escaped, so I don't get '<div>'
> >but '<div>'. I cannot use this afterwards. '.loc_desc' is a %def
> >component, called within a %method.
> >
> >What am I missing ? I went over the doc for scomp, but nothing helped me
> >solving this.
> >
> >Thanks for any help!
> >--pascal
--
--paf
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users