Reputation: 309
I am getting this error.
This is the line causing the problem; I'm trying to display html entities.
%p= html_escape("✔")
I understand html_safe is not available in Sinatra. What can I use to replace that functionality?
Upvotes: 1
Views: 696
Reputation: 8478
From the Haml docs (http://haml.info/docs/yardoc/file.REFERENCE.html)
You can do this:
&= "✔"
Upvotes: 1