I have the following piece of view code in my HAML template:
= yield(:great_view) || '<meta name="my-app" content="app-id=123, affiliate-data=, app-argument=">'
and adding .html_safe
to the second operand doesn't display it correctly, but still escapes it. What am I doing wrong? Adding parentheses around both and writing ( .. || .. ).html-safe
doesn't work either.
Aucun commentaire:
Enregistrer un commentaire