You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a <div>Multiple Spaces</div>
When I copy the content of it
Then I should get Multiple Spaces
Actual Behaviour
Given a <div>Multiple Spaces</div>
When I copy the content of it
Then I actually get Multiple Spaces
To Reproduce
Add any two or more space for a element content
Execute the copy command
You'll get a squished text
Browsers Affected
Brave
Chrome
Not tested others
Operational System
13.3.1 (a) (22E772610a) Apple M2
Temporary Solutions
Set the text into an attribute like data-clipboard-text instead use a tag content. By the way the browser squish it too, so display the text for a plain user copy is not a cool thing.
Question
Is there any way of add a innerText or innerHTML option?
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
Expected Behaviour
Given a
<div>Multiple Spaces</div>
When I copy the content of it
Then I should get
Multiple Spaces
Actual Behaviour
Given a
<div>Multiple Spaces</div>
When I copy the content of it
Then I actually get
Multiple Spaces
To Reproduce
Browsers Affected
Not tested others
Operational System
13.3.1 (a) (22E772610a) Apple M2
Temporary Solutions
Set the text into an attribute like
data-clipboard-text
instead use a tag content. By the way the browser squish it too, so display the text for a plain user copy is not a cool thing.Question
Is there any way of add a
innerText
orinnerHTML
option?The text was updated successfully, but these errors were encountered: