Trim leading/trailing whitespace from attribution copy button result #553
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
good first issue
New-contributor friendly
help wanted
Open to participation from the community
🟩 priority: low
Low priority and doesn't need to be rushed
🧱 stack: frontend
Related to the Nuxt frontend
Description
The text copied from Credit the creator section sometimes has newlines at the beginning (and some results will have more than others). Reported by @AetherUnbound.
Reproduction
Screenshots
See video in Chrome browser.
Additional context
Confirmed is an issue in WordPress/openverse-frontend#1437.
Resolution
The text was updated successfully, but these errors were encountered: