The previous comment also shows, among other things, that the generated HTML is then only displayed as a single line. In contrast, the diff of two document versions produces a truly clean diff.
By checking two versions of a document everything works as expected.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.