Skip to content

Commit

Permalink
use the plain body instead of the body that contains a mix of html (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
aubin-tchoi authored Jan 3, 2025
1 parent 78ea993 commit 668c871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/src/connectors/zendesk/lib/sync_ticket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ ${comments
);
author = null;
}
return `[${comment?.created_at}] ${author ? `${author.name} (${author.email})` : "Unknown User"}:\n${comment.body.replace(/[\u2028\u2029]/g, "")}`; // removing line and paragraph separators
return `[${comment?.created_at}] ${author ? `${author.name} (${author.email})` : "Unknown User"}:\n${comment.plain_body.replace(/[\u2028\u2029]/g, "")}`; // removing line and paragraph separators
})
.join("\n")}
`.trim();
Expand Down

0 comments on commit 668c871

Please sign in to comment.