Closed Jaska closed 5 years ago
I'm sorry about my late reply to this, slipped my mind!
This looks like a good addition. I combined the if cases for WYSIWYG and textarea to remove some duplicated code. I also added some sanitation with kses to avoid potential XSS issues for the success message.
Thanks!
Thank you @fabianlindfors!
Textarea field is very common for contact forms. The email notifications however display all characters of the textarea, including paragraphs and br. I think it's much better to output them as html.