A change in the original PR was a regression (testing the PR, I somehow did not hit it both with Admin auto tests and some manual tests :/ ). Fixed in https://github.com/xwiki/xwiki-platform/pull/4835
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.