ah thanks Nathan =)

On Apr 18, 9:58 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> Yep. Just set :ugly => true wherever it is you set Haml options
> (Haml::Template.options if you're using Rails, for example). Only master
> branch, though.
>
> - Nathan
>
> j4s0n wrote:
> > just wondering if the :ugly option is still around? and how can i use
> > it? thanks.
>
> > jason
>
> > On Mar 5, 12:52 am, Brad Gessler <[EMAIL PROTECTED]> wrote:
>
> >> I noticed that its not in the 1.8.2 release of HAML (which might be
> >> why you said its in the master branch)!
>
> >> I'm really looking forward to this when it is released into the wild.
> >> I think the HAML team is going to have something really great on their
> >> hands when HTML can be compressed with the CSS that you folks are
> >> already compressing. Its great that I can maintain a very nice syntax
> >> in development, and compress it in production.
>
> >> Brad
>
> >> On Feb 23, 8:14 pm, Brad Gessler <[EMAIL PROTECTED]> wrote:
>
> >>> Sweet, I'll check that out and see what kind of source this kicks out.
>
> >>> Brad
>
> >>> On Feb 22, 12:40 am, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>
> >>>> The master Haml branch offers an :ugly option that's mainly designed to
> >>>> eliminate some of the formatting-preservation functions that are costly,
> >>>> performance-wise. Although it doesn't trigger much of a change right
> >>>> now, eventually it should eliminate all extra whitespace, which will
> >>>> result in more-or-less compressed output.
>
> >>>> - Nathan
>
> >>>> Brad Gessler wrote:
>
> >>>>> If you look at the source HTML for google.com; its compressed in the
> >>>>> same way that CSS is compressed... all of the white space and line
> >>>>> breaks removed. While CSS is typically downloaded once and cached; why
> >>>>> not apply this same school of thought towards HTML generation?
>
> >>>>> Before HAML, it was advantageous to write HTML in a nicely formatted
> >>>>> way so that it was easier to maintain. Since HAML is generating HTML
> >>>>> source, why not offer a compressed HTML source generation option?
>
> >>>>> cl'ck
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to