You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Haml
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
Nathan Weizenbaum
unread,
Nov 5, 2009, 2:26:49 AM11/5/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ha...@googlegroups.com
Why can't you just use "= html" in your template?
Ming
unread,
Nov 5, 2009, 7:18:39 AM11/5/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Haml
Nathan, big duh! I tried everything but the obvious. Thanks.