Be more strict while escaping HTML in template