Maybe it can be put into a helper but the existing 500 lines of code has everything in the HAML code, so it is better to follow the existing code for the moment (for tight deadlines).
I found the only way working right now is
- meta_tag = %Q{\n |
<meta ...>\n |
<meta ...>\n |
[...] \n |
} |
which is to use the "continuation character" and the \n
at the same time. It'd be great if it can be simplified.