Haml doesn't include an HTML pretty-printer; that's outside its scope. All
the pretty-printing of the output is done by formatting it as it's produced,
rather than parsing and re-formatting. So you'd either need to patch
formtastic or roll your own pretty-printing method.

On Sun, Mar 7, 2010 at 3:47 AM, Pietro Giorgianni <[email protected]>wrote:

> Hi,
>
> one of the thousands (literally) of reasons I love haml is that it
> always gives me valid, pretty-printed xhtml, which makes debugging
> happier, or at least less painful.
>
> Now I'm starting to use formtastic, which returns all it's output on
> one single unbreaked line.
>
> Is there a way to make haml split and indent helpers (in this case,
> formtastic's helpers) output, or it is necessary to patch them?
>
>
> Thanks
>
>
> pietro
>
> --
> 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.

Reply via email to