I am having a challenge with haml views - the haml code is adding a
set of quotes when adding a variable to a line.
ex. from the html.haml view...
=:welcome_message.l(:login_link => (link_to :log_in.l, login_path))
where :welcome_message.l is from a .yml file and is welcome_message:
"Welcome {{:login_link}}"
and :log_in.l is from a .yml file and is log_in: "Sign In"

results in

Welcome <a href="/login">Sign In</a>

When I inspect the element a stray/phantom set of quotes surrounds the
line and thus has turned the code to text and doesn't allow html to
render.  I understand this is what is going on but can not figure out
how to fix it.  Any known gem conflicts?

-- 
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