I am taking text from a Salesforce Task and sending it to Confluence as a new page. Working like a charm. However, in one of our notes, there is an "&" and it is causing this error.
com.atlassian.confluence.api.service.exceptions.BadRequestException: Error parsing xhtml: Unexpected character ' ' (code 32) (missing name?)
Yet I can take the same text and paste it directly into a confluence page without issue. I am sure special characters are going to occur occasionally in our teams Salesforce notes.
Suggestions?