one-liner templates are now printed in one line

/cc @densh