In this context it's not necessary, but it's worth remembering to escape output in templates to avoid XSS