On Fri, 3 Aug 2007, Alan Humphrey wrote:

> Looking at the obj file I see a line:
> $m->print( '
> ' );
>
> If I take Andrew's suggestion and escape the  component definition then the
> line does not appear.
>
> So, on the one hand there a solution (many thanks!).  On the other hand this
> feels like a bug, is it?

        No, it's expected behaviour.  The basic way it works is, if there's a 
\n in the source, and it's not inside special Mason blocks (ie. <% %> and the 
like), then there's a \n in the output.

        The only exception I can think of is that a '%' eats the rest of the 
line, including the \n.

        This setup does mean that occasionally you get situations like the one 
represented here, but as a general rule, it works pretty well.

        :)

---------------------------------------------------------------------
| Name: Tim Nelson                 | Because the Creator is,        |
| E-mail: [EMAIL PROTECTED] | I am                           |
---------------------------------------------------------------------

----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----

-------------------------------------------------------------------------
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

Reply via email to