Problem with AnsPress email addon and notification
Ok, so I manage to find solution for this problem. All strings from text fields (option panel) are sanitized by default, that means also line breaks. I added a If statement to check for email text fields and to return sanitized strings with preserved line breaks.
Pull request submitted, but if You are in a hurry, then You can grab changes from my github:
Commit: here
Changed file: here
Sazonov Slava commented on answer
Sazonov Slava commented
Great. It’s working
Thx
Great. It’s working now. Many thanks for your help.