Hi,
I'm trying to display js snippet in my view using :escaped filter. I've got HTML similar to this:
%div
%pre
%code
:escaped
<script>
var a = 1;
</script>
There are 2 issues:
1. How can I display this snippet so it won't be indented? Nesting it deeper in more HTML tags makes it more and more indented.
2. The first line is actually not indented at all, but all others are. I have to manually move the first line by adding few spaces on the left, so that its indentation would match the other lines.
Cheers,
Szymon