If you don't want any formatting, you should probably just be using the general Rails (or whatever you're using) tag helpers. The Haml tag helpers are separate from those precisely because they provide formatting.
On Sun, Feb 28, 2010 at 10:59 AM, mtin79 <[email protected]> wrote: > hey out there, > i am using a text expansion jquery plugin. i need to structure the > expandable html tag inside, which leaves me with whitespace between > the message parts when the text is expanded. > > is there a way to get rid of the haml helpers generated whitespace, > eol, indentation? > > capture_haml do > haml_concat(escape_once(message_teaser)) > haml_tag(:span, :class => "read-more") do > haml_tag(:a, "... read more") > end > haml_tag(:span, message_details, :class => "details") > end > > thanks for help! > > -- > 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.
