Description Text include new line in GET Ticket

Hi Team,

In Freshdesk ticket API, we got description text as “ug\r\n\r\n”. Is it expected behavior?

API Response:
“description”: “<div dir=“ltr”>ug\n\n”,
“description_text”: “ug\r\n\r\n”,

Since it’s description_text we expect only text, but it includes a new line.

Hello Ajith

It seems like that. I guess all the escape characters are not considered as part of HTML. That’s the reason its included in the description text. New line breaks like <br> should be ignored

Hope it helps!

@ajithr,
As @shravan.balasubraman suggested, Freshdesk will truncate the extra texts due to security issues.
There is no other way of adding line breaks here.

Thanks