Fixed by using ParserUtils#convertToInline(). This only handles the simple case of a single macro or a single paragraph but not more complex content. More complex content is kept as-is.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.