Attributes truncated from Rich Text Field type

  • 1
  • Problem
  • Updated 4 months ago
  • In Progress
Hello Team,

When I upload HTML in a rich text field type it is truncating some tags.

For example: 

The column in CSV contains:
"<a href=""www.google.com""; target=""_blank"">Click to open chat</a>

When uploaded to gainsight it truncates the target tag and leaves it with the href tag.

Regards,
Jahnavi
Photo of Jahnavi

Jahnavi, Champion

  • 1,234 Points 1k badge 2x thumb

Posted 5 months ago

  • 1
Photo of Kunal Bhat

Kunal Bhat, Employee

  • 240 Points 100 badge 2x thumb
Hi Jahnavi,

When ingesting data into Gainsight, we truncate data that could potentially be malicious or could introduce vulnerabilities. Hence you could see certain aspects of HTML content being truncated.

The "target" attribute in the anchor tag (a href) is one such attribute which gets truncated based on our current security policy for data coming into Gainsight.

We'll consider adding exceptions to the policy and assess whether the "target" attribute can be one of them.
(Edited)
Photo of Jahnavi

Jahnavi, Champion

  • 1,234 Points 1k badge 2x thumb
Thanks for the response, we would wait for the upgrade