Makes error_base.html safer