stripHtml from comments

    Signature

    Helper nodeHelper
    Signature
    stripHTMLFromComment(String HTMLText)
    Description

    Removes the HTML from the comments

    Introduced in

    The stripHtmlFromComments method removes these tags from a list of comments, ensuring that only plain text is retained when synchronizing them with external systems. This method is particularly useful in the Outgoing Sync, where HTML formatting may not be needed or supported by the target system.

    Example Usage in Freshdesk:

    • Removing HTML Tags from All Comments Before Syncing:

      replica.comments = nodeHelper.stripHtmlFromComments(entity.comments)