comments.json API Endpoint

Hi,

I'm currently in the process integrating Telligent into our intranet by using the REST APIs.

Part of this dev work is to pull through comments to display, update and delete.

All though I have all functionality working, I'm having issues with the comment body that Telligent is returning. It keeps appending <div style="clear:both;"></div> to the body value.

Raw value: Body = "test<div style=\"clear:both;\"></div>"

Is there a way for it to just pass back the value stored in the database?

Version 10.0.2.5303

Parents Reply
  • Hi Patrick,

    Thank you for your reply.

    The problem that it's causing is that we are not proving the users with a rich text editor. So when the comment body is added into a textarea element for the user to edit it's also display "<div style=\"clear:both;\"></div>".

    I've tried using the PostTarget option but it makes no difference and still appends "<div style=\"clear:both;\"></div>" to each comment in the returning result set.

Children