Render HTML in Service Portal Comments widget

tchaikin
Giga Expert

I would like to modify the OOB comments widget on the ticket page to either:

- Display URLs in comments as links

or

- Render HTML in each comments box. 

I see that the value of the comments is already bound to this element, so I'm stumped as to how to make it actually render HTML.

<p ng-if="::(e.element != 'attachment')" ng-bind-html="::e.value"></p>

If anyone has any experience with this, please let me know what I might be missing here.

Thanks,

Todd

5 REPLIES 5

Shaily2
Tera Contributor

Thanks, it works like a charm 🙂