I've just reproduced this issue with the standard XWiki Docker image on XWiki 16.10.1. As an alternative, I put the text I wanted to insert in an attachment.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.