2 ms·
But it does become javascript so it needs the right script type. A way to work around this might be to do this: <script type="<%= js_mime %>"> <div><%= somethi
by grey-area 10y ago
But it does become javascript so it needs the right script type. A way to work around this might be to do this:
<script type="<%= js_mime %>"> <div><%= something %>
then it won't be escaped presumably as js, but it will become js when it is run through the other templating system. sentiental have you tried that approach?