scanner.go: naive templating check