Problem with AnsPress email addon and notification

Solved7.44K viewsIssues
0

Hi,

I have problem with notification content. Please look on this short screnncast: http://share.what.ovh/r8Gk

How can I add spacing (entery) between each line?

Thanks for your help and sorry for my english.

I use this addon with askbug theme.

Below is my anspress_email.php file.

0

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

commented on answer

Great. It’s working now. Many thanks for your help.

Great. It’s working
Thx

You are viewing 1 out of 3 answers, click here to view all answers.