Remove unnecessary whitespace from precompiled templates