We encode a lot less than we used to, but it seems | is still encoded. Now the described used case has actually been fixed on the other end by XWIKI-20571 and other tools seems to encode the |. Since what leaded to create this issue in the first place is fixed I'm going to close this issue as solved by.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.