Re: Leading/trailing newlines
Dave Rolsky <[email protected]> Sun, 23 Sep 2007 11:53:43 -0500 (CDT)
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 23 Sep 2007, C.J. Adams-Collier wrote: > If I'm picking up what you're laying down, this would happen for each > comp() call. This would be too expensive. The filter would need to > be applied once, most likely at compile time. It would be expensive, but I'm not sure it'd be _too_ expensive. However, if the goal is to provide a feature similar to what TT provides for controlling newlines/whitespace _around template directives_, then it should be done at compile time only. What Alex was describing would affect all the output, including the output from interpolated variables/functions/etc. I think this would be too much for most people. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/