Why can't you just use "= html" in your template?
On Wed, Nov 4, 2009 at 10:32 PM, Ming <min
...@gmail.com> wrote:
> I'm using HAML in a merb project.
> I have function generated HTML that I wish to convert to HAML and
> insert into a HAML template.
> convert(html) returns haml
> All the naive methods I've tried at best insert the converted haml as
> a string into the rendered html rather than including it as code for
> the template. How do I get the function inserted haml to be treated
> as code?
> Alternatively, I would be happy to insert the function generated HTML
> into the final rendered page without going through HAML. Is this
> possible?
> TIA