Blank space added when an email is sent from triggers.
AnsweredHello everyone,
I'm currently setting up a few triggers to send customized email to our customers. To do so, I'm using HTML and I'm able to have the desired result, except that I'm facing a little bug. When a customer receives the triggered mail, it contains a huge blank space.
This huge blank is of course not intended, nor present into my HTML code. When opening my code into a classic web browser, everything looks and works fine. When investigating the HTML code received into the mail, it looks like Zendesk automatically adds a lot of <br> tags.
This issue does not appears when the <table> tag is not used. Is there a fix or any workaround into Zendesk configuration ?
Thanks !
-
Hi Florian,
I think we will need to have a look at the configuration of your email template and your triggers along with some example tickets to get to the bottom of this.
Since this will be account specific information I have made a ticket for you to look further into this.Kind Regards,
-
Hello Carl,
I finally managed to find what was causing the blank spaces. The editor I used to write the template was adding "invisible" line breaks for some unknow reasons. I was able to remove them using an html code fixer.
Everything is working as expected now, but thanks for your concern !
Have a nice day
-
Thanks for getting back to me and letting me know you found the issue and the solution, glad you were able to get it all working.
Have an awesome day -
I'm having the same issue with big blank spaces in the HTML email we're sending via triggers. When I inspect the page I can see that lots of <br> are added. Can you share the steps you followed to solve the issue? Thanks and have a nice day!
-
This is happening to me but I am just adding the HTML table code straight into the trigger in Zendesk, no editor being used. Anyone know how to get rid of the additional breaks?
-
Ginger Collison Solution: you need to add the HTML content to the trigger in a minified version. This way, there won't have gaps between the content. I used this website https://www.willpeavy.com/tools/minifier/ to minigy my HTML and add it to the Zendesk trigger and it works fine!
Please sign in to leave a comment.
6 Comments