Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen
Keeping multiple spaces between words
Gepostet 28. März 2023
In the emails we send out using zendesk, we have content that require us to maintain the extra spaces between words.
e.g. "A B C"
(3 spaces between B and C)
However, the content appears as "A B C" with 2 spaces between B and C removed.
How can we maintain the spaces?
I have tried using css "white-space:pre" and replacing spaces to but they get rendered as text.
1
4
4 Kommentare
Blanca
0
Yeoh Erik
Hi Blanca
We use the Create Ticket API https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#create-ticket
After a ticket is created, an email is sent to the customer, in that email, the extra spaces were removed.
0
Blanca
0
Carl McDowell
We have the following note in this API reference regarding the ticket comment:
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/#bodies
Hopefully this method to preserve your spacing will be of assistance.
0