Skip to content

Target pre tag on copy to fix firefox copy bug

Justin Boyson requested to merge jdb/fix-copy-to-clipboard-ff into master

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

image

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

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Merge request reports