Links or HTML tags in follow up or reminder box are stripped

SupportLinks or HTML tags in follow up or reminder box are stripped
radu_adrian_octavian Staff asked 12 months ago
Hi Nikola, I've tried to figure out why the html tags and links are stripped in the follow up and reminder received emails, the html remains in the textarea. I've looked in the code but cannot find anything like strip_html or trim with the html tags. Screenshot :https://i.ibb.co/vQp8mM0/Screenshot-2024-01-10-at-21-30-20.png Can you please guide me in the right direction ? I just want to add a google forms link in the follow up box and to format the email. All the best Radu        
3 Answers
Nikola Loncar Staff answered 11 months ago
Hi Radu need to checkout that. Should not be the case. Maybe mail content type is not set?   Best regards, Nikola
Nikola Loncar Staff answered 11 months ago
Just checked content type is good:  
$headers = array('Content-Type: text/html; charset=UTF-8');

Best regards,
Nikola
radu_adrian_octavian Staff answered 11 months ago
Hi! I've checked that already, it seems that when i save multiple times the textarea it adds slashes on the links like that < a href=\\\"link.com\\\">link.com maybe it's becasue it's not jsonencoded before sent to database? Let me know All the best Radu