I've read through various ZD help articles and the liquid dev guide but so far I have not been able to find a solution
I'm want to use a macro which does several things at once, including making a "comment/description" which contains the placeholder {{ticket.comments_formatted}}. My expectation is this would display the previous ticket comments in a formatted manner. What I am finding though is that line breaks are not respected.
The flow is that the Customer submits a case. The contents of the case are:
Line 1
Line 2
Line 3
I then apply the macro. The result of using this placeholder is the comments displayed are not the individual lines as I've shown above. Instead I get: Line 1Line 2Line 3
It doesn't matter whether the customer submits the case through email or by web portal, the result is the same.
How do I maintain original formatting when using the {{tickets.comments}} placeholder?
Hi Stephanie,
Can you help us understand why you want to add the comment thread into a single comment via a macro, and not just include the comment thread in an outgoing email notification in a trigger?