Added facility to preserve newlines in the template.