"Copy source to clipboard" button doesn't copy the file's newlines in Firefox
Summary
In Firefox, the "Copy source to clipboard" button copies the file's contents without newlines.
In Chrome, the newlines are copied as expected.
Steps to reproduce
- In Firefox, navigate to https://gitlab.com/gitlab-org/gitlab-ce/blob/ece284daec1086187e150382566563596dcd9bbc/app/models/project_services/chat_message/pipeline_message.rb
- Click the "Copy source to clipboard" button
- Paste the result in your editor of choice
Output of checks
This bug happens on GitLab.com.