Call htmlentities on name value.