Strip whitespaces in templates during compile time