Eventually the :ugly option will effectively work like the :compressed style in Sass. I'm not sure it will necessarily get rid of all newlines, since the existence of whitespace (although not the amount of whitespace) is semantically relevant.
On Wed, Nov 25, 2009 at 12:42 PM, ludicco <[email protected]> wrote: > Hello there, > I was wondering if its possible to do the same thing as we have in > SASS while using the :compressed style and getting all the code in one > line, but for HAML this time. > I know that we have the :ugly parameter but it just discards the > indentation but not the line breaks. > So, I'm not sure if doing something like this would improve > significantly the markup reading or if between this and the :ugly > format there isn't a visible difference. > Anyone could let me know if this would be a good thing? > Is there any down sides in compressing the HTML like this, if you > don't need/want it to be human readable? > > Thanks a lot > > -- > > 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] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > > -- 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.
