How could I escape a & in Haml so that it compiles to & instead of &? (Haml noob)
I am trying to use the Icomoon icon font with Haml and can't seem to find a way to escape the & so that it stays just an & instead of & . The Icomoon font allows you to use HTML entities with a data-icon="" attribute. Works smooth as butter in HTML and even in a Haml file if I just do a straight HTML link. However, since I'm learning Haml I thought I'd see if anyone on here would like to recommend the best way to approach this. Here's a sample of what happens. This is the original Haml: %a(href='/posts' data-icon="&" aria-hidden='true') This is how it compiles: <a aria-hidden='true' data