fix the function of replace html at Survey

fix the function of replace html at Survey