-
Notifications
You must be signed in to change notification settings - Fork 63
Attribution section is including the copy button text #1437
Comments
Here's a video: Screencast.2022-05-13.10.08.51.mp4Note that on Pastebin it looks like the newline gets displayed as a proceeding space. |
It's strange. I remembering being able to reproduce this but I can't any more. I only see the preceding space, no matter where I paste it (tried vim, pastebin, vscode, I tried just echoing it into my terminal). It is weird that the preceding space is there though. I wonder if it just needs a |
I can not watch or even download the video file. |
It seems like Firefox does not like the video encoding - I am able to watch the video in Chrome though. |
You are right. Now I can see it, and I thought it was a randomly-text line. |
@AetherUnbound can you copy the character that's added on the first line? When I analyze what gets put into my clipboard, it's just a regular space character. I'm wondering if for you it's somehow something other than that. Is anyone else able to reproduce this? @WordPress/openverse-maintainers |
You know....I think this might just be gvim's pasting behavior 😂 😭 🤦🏼♀️ I do remember seeing several newlines when I originally filed this, but that must have been fixed with the most recent frontend deployment. I think there's only the space at the beginning now, not any actual newlines. Should we leave this open to correct that? Or is that a non-issue? |
I was able to reproduce this during the bug bash in Venice. I tried again and is kind of funny because I don't see new lines anymore but in Firefox it shows a space at the very beginning to me, and in Chrome it adds the text of the button after two new lines. Copying HTML from Chrome
Copying Plain text from Chrome
Note that this occurs in both production and staging. |
I've update the issue to trim the whitespace. I'd say this is very low priority. It might be trivial to fix but I could also see it being a ball of worms somehow. The double space I'm not sure what to do about. How much do we care about that kind of thing? |
I am having a look to this issue. ` Copy text I would be interested on having a look at this |
@carlosreyesmunoz That looks like the same result @krysal got too. Very strange! I've assigned the issue to you 🙂 Feel free to ping if you need and assistance. |
Fixed in #1458. |
I created basically a duplicate of this issue in WordPress/openverse#553 to specifically address the leading/trailing spaces and updated this one to reflect the problem with the button text included that @carlosreyesmunoz already fixed. Thanks, Carlos! ✨ |
Description
Copying the text from Credit the creator section using the button includes the text of the button itself in the Chrome browser.
Reproduction
Environment
Additional context
Issue #1425 might be related.
Resolution
The text was updated successfully, but these errors were encountered: