Neither template body or code clearly state about type of passed arguments. This creates confusion and does not clarify usage of variables in templates. Therefore if either need to sanitize them or have clear message saying why it is not required, e.g. see src/templates/das_searchform.tmpl which shows that

```
### Please note the cards are sanitized in das_cards template
$cards
```

You have similar use case and comment would be appropriate.