After updating react-syntax-highlighter in https://github.com/elastic/kibana/pull/84296 was necessary to modify the linebreak behaviour: https://github.com/elastic/kibana/pull/84296/commits/2be72fa46bf07a4109f355b635b1c3dab44f225e We should do two things: - [ ] Look into why this was necessary and if there is a better solution - [ ] Add a test that will catch changes like this in the future