Keeping multiple spaces between words

4 Comentarios

  • Blanca
    Zendesk Customer Care
    Hi there, Erik! I tried to do it on my test account on Support platform, and I was able to retain the three spaces between the letters when I sent the e-mail. Can you provide a sample on how you did on your end and what steps were taken?


    0
  • Yeoh Erik

    HiBlanca
    我们使用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
    Zendesk Customer Care
    Hi Erik, thank you for the clarification. If this is the case, I want to know more the payload you use that renders these extra spaces. I will create a new ticket
    0
  • Carl McDowell
    Zendesk Customer Care

    We have the following note in this API reference regarding the ticket comment:
    https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/#bodies

    If you use body, multiple consecutive spaces are collapsed into a single space and multiple consecutive newline ("\n") characters are collapsed into a single newline. To preserve your spacing, use alternating space and non-breaking space characters (you must use the Unicode \u00a0 and not ). To preserve your line breaks, enter an extra space after "\n". For example, to generate three empty lines, use "\n \n \n".

    Hopefully this method to preserve your spacing will be of assistance.

    0

Iniciar sesiónpara dejar un comentario.

Tecnología de Zendesk