On Jan 11, 11:30 pm, Nathan Weizenbaum <[email protected]> wrote: > On Mon, Jan 11, 2010 at 9:26 PM, Phrogz <[email protected]> wrote: > > This is working well. The only oddity is that I'm initializing the > > Haml template with :ugly=>true, but the produced HTML—just for this > > helper—is being indented and nested nicely. Do helpers using haml_tag > > not honor the :ugly setting? > That's true. It's probably a little less efficient that way - feel free to > file an issue on the bug tracker (http://github.com/nex3/haml/issues) and > I'll try to get around to fixing it soon.
So created as http://github.com/nex3/haml/issues/#issue/76 Is what I've done (re-opening Haml::Helpers and jamming my own method in there) the recommended way to create a helper for use in my templates?
-- 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.
