Target pre tag on copy to fix firefox copy bug
What does this MR do?
Related to: #18534 (closed)
Fixes the formatting when copy/pasting with Firefox using the "Copy file contents" button.
Screenshots (strongly suggested)
Location in GitLab
Example of incorrect formatting
# For more information about the properties used in # this file, please see the EditorConfig documentation: # https://editorconfig.org/ root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true trim_trailing_whitespace = true [*.md] trim_trailing_whitespace = false
Example of correct formatting
# For more information about the properties used in
# this file, please see the EditorConfig documentation:
# https://editorconfig.org/
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false