I had a topic about HTML being displayed in text area fields on the front end which I fixed by disabling the cookie monster plugin.
For some reason though the HTML from text area is still being displayed in our E-mails. We have our E-mails sent to us as plain text using this function:
add_action("gform_notification_format", "set_notification_format", 10, 4);
function set_notification_format($format, $notification_type, $form, $lead){
if($notification_type == "admin")
return "text"; //setting admin notifications as text
else
return "html"; //setting user notifications as text
}
The HTML wouldn't be a problem but we use web prospects to submit the data to Sages Act and it's completely breaking the format for that. Any ideas to stop this happening would be great!