Fix template to not insert blank lines