fighting with extraneous whitespace in Template prettyprinting

/cc @densh