Summary
Some diffs are not generated correctly due to mismatched line endings that vary across systems ("\r\n" compared to '\n"). We should use TextContent::normalizeLineEndings() in calculating the proposed content diff.
Acceptance criteria
- Edits that use different line endings in the text editor do not result in malformed diffs in the mediawiki.hcaptcha.edits event logging data