optimize successive text lines in Mojo::Template