BIND zone template mangled

When saving a bind zone file template for use by one of the virtualmin templates, if it contains tab characters the text is split onto new lines at each tab.

Using spaces works fine.

Also worth mentioning that the helpfile help.cgi/virtual-server/template_dns says only ${DOM}, ${USER}, ${HOME} and ${EMAILTO} substitions are available. Only ${DOM} is of any use in this context.

${IP} is also available, are there any others? Some way to create YYYYMMDDnnn serial number would be useful, maybe ${YEAR}, ${MONTH}.. etc

Status: 
Closed (fixed)