• I’m trying to add linebreaks to the message but they get taken out. This means the emails sent are all on one line.

    Please advise?

Viewing 1 replies (of 1 total)
  • It’s line 160 causing it;

    $opt['email_body'] = esc_attr($_POST['body']);

    I’m not sure if esc_attr can be reversed within the filter, so I’ve just altered the plugin for now. Change to;

    $opt['email_body'] = $_POST['body'];

    • This reply was modified 7 years, 5 months ago by Moorst.
Viewing 1 replies (of 1 total)
  • The topic ‘HTML Stripped from email?’ is closed to new replies.