How to add html or xml in a public comment? | Community
Skip to main content

How to add html or xml in a public comment?

  • August 5, 2021
  • 3 replies
  • 0 views

In Zendesk Support, when typing a reply to an end user in a Public reply, you might want to include some html or xml code.

If you copy/paste the block of xml from a "no format" application such as Notepad, pasting will only show the text content of the xml, stripping out all tags.

You need to copy the xml from a "rich format" application, such as an Outlook draft email or a web page. Pasting this will include the tags.

If you open your xml in Notepad by default, copy from Notepad into an Outlook draft email first, then copy from the Outlook draft into Zendesk.

This is probably because on Windows, the underlying raw clipboard information includes formatting such as with the "HTML Format" clipboard content, whereas copying from Notepad only includes raw text information. The textbox in Zendesk will carry over the "HTML Format" clipboard information thus retaining the tags, whereas it interprets raw text as text only and strips out the tags.

(Raised with Zendesk Support as #6835375, not sure if they ever escalated it to their software team)

3 replies

Cheeny
  • August 8, 2021

Hi Thierry,

Thank you for posting on our Community. I can see that a colleague is already taking care of the Support Request that you sent us. We truly value customer feedback and your voice and votes in the product feedback topics in the community help influence future Zendesk functionality.

 


  • August 12, 2021

Hi

I'm having a similar issue copying html formatting from a website to a private note on a ticket. 

What's the best way to approach this issue?

Is it also copying it to an email first rather than directly to the ticket? If that's the case, I don't use Outlook, I use gmail, will that still work?

Sincerely
Selena


Cheeny
  • August 12, 2021

Hi Selena,

Are you experiencing the same issue as described in this Community Post? If yes, please reach out to our Customer Support because there is an existing bug that we are currently working on.