最近搜索


没有最近搜索

Jake Firman's Avatar

Jake Firman

已加入2022年2月11日

·

最后活动2022年2月15日

关注

0

关注者

0

活动总数

2

投票

0

订阅

1

活动概览

的最新活动 Jake Firman

Jake Firman 创建了一个帖子,

帖子 Q&A - Tickets and email

I am trying to add an HTML table to an email that is sent by a zendesk "trigger". While designing the email, I have noticed that Zendesk (or the Liquid templating engine) is adding mystery line breaks (
's) to the email, right above any table that is added, and the number of
's added depends on how many elements are in the table. 

For example, if I add a small 1-row table to the body of my trigger email, like this one...



This is a small table

...then Zendesk adds 2 mystery
's to the email, right before the table, like this...

If the table has a bit more content, like a 5 row table, like this...




 
 
 
This is row 1.
This is row 2.
This is row 3.
This is row 4.
This is row 5.

...then Zendesk adds 6 mystery
's to the email, right before the table, like this...

As you can imagine, this has a big negative effect on the formatting of the email. The table I'm hoping to add has ~14 cells in it, and when the email is delivered, is has a massive white space right above the table because Zendesk is adding a whopping 15 mystery line breaks to the email.

Has anyone ran into this before? Might there be a workaround to still being able to use HTML tables, but not have these line breaks added?

已于 2022年2月11日 发布 · Jake Firman

1

关注者

11

投票

8

评论