I'm trying to accomplish the following content in source code:
<div id="box<%=id%>"></div>
Without escaping any signs in Haml.
%div{ :id => "box_<%=id%>" }
produces
<div id='box_<%=id%>'></div>
Right now the only way I can do this with Haml is to use :plain
filter and hardcode HTML without using any View Helpers. How can I fix that?
I need this because I'm forced to follow this convention because of third-party syntax convention: JavaScript Micro-Templating
Reference: