template neds newline after last tag.