It would be nice to have this in the forthcoming 4.1.0: https://groups.google.com/forum/#!topic/haml/CFGC5MW5gIM
in short: add the option* :collapse_whitespace* along with current *:remove_whitespace*. Dne torek, 07. januar 2014 16:30:02 UTC+1 je oseba Norman Clarke napisala: > > Hi all, > > Haml 4.0.5 and 4.1.0.beta.1 have been released! > > The sha1 sums for the gems are: > > 9cafd882b5eb29d3312afbf67028275cfe8e8770 - haml-4.0.5.gem > 5b10e18f252bdb5d4d316f9384cd7c133d3608ec - haml-4.1.0.beta.1.gem > > 4.0.5 fixes an HTML escaping bug with the haml_tag and haml_concat > helpers. It is recommended that anybody using Haml 4.0.x and the > haml_concat and haml_tag helpers upgrade to this release. > > 4.1.0.beta.1 includes all changes in 4.0.5 as well as the following > significant changes: > > * Support for Ruby 1.8.7 dropped. > * Support for Rails 3.1 and lower dropped. > * General performance and memory usage improvements. > * Don't treat the 'data' attribute specially when merging attribute hashes. > > On Ruby 2.0.0, Haml 4.1.0 is about 15% faster at rendering templates with > typical production settings than 4.0.5, though the performance between > versions is almost identical on Ruby 2.1.0. > > Best regards, > > Norman > -- You received this message because you are subscribed to the Google Groups "Haml" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/haml. For more options, visit https://groups.google.com/groups/opt_out.
