??? Why not join?
`[% pair.value.join(" \\\n    ") %]` is way easier to read than the two lines above.