> Just wondering why not use a customized module function which might > better suit this situation.. :)
I'm not sure what this is, any pointers would be appreciated. If there's a better way I'm all for it. I just found something that seemed to work and went with it. - Alan > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:mason-users- > [EMAIL PROTECTED] On Behalf Of Xicheng Jia > Sent: Friday, August 03, 2007 6:33 PM > To: Mason-users@lists.sourceforge.net > Subject: Re: [Mason] newline before component results > > On 8/3/07, Alan Humphrey <[EMAIL PROTECTED]> wrote: > > Hi - > > > > I'm seeing a \r\n inserted before component results and I can't > figure out > > where they're coming from. > > > > Here's the code: > > > > <%def .image_value> > > % if ( defined $c->stash->{default_image} ) { > > % print $c->stash->{default_image}->$column; > > % } > > <%args> > > $column > > </%args> > > </%def> > > Just wondering why not use a customized module function which might > better suit this situation.. :) > > Regards, > Xicheng > > > Here's a typical call: > > > > <input type="hidden" name="id" value="<& .image_value, > column=>'id' > > &>" > > > > > And here's the result on the page: > > > > <input type="hidden" name="id" value=" > > 4" > > > > > Mason 1.36 - freshly installed. > > Apache 2.2 > > > > Any ideas? Thanks! > > > > - Alan > > > > > > > > > > --------------------------------------------------------------------- > ---- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Mason-users mailing list > > Mason-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/mason-users > > > > > -- > perl -le'print"So~*kde~box*DS*Zoxf*fe|er"^$\x23' > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Mason-users mailing list > Mason-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mason-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users