Fix rendered form values not being encoded for HTML