bugfix: allow whitespace before template vars