New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 690798 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Paste command should not convert space characters between elements to nbsp

Project Member Reported by yosin@chromium.org, Feb 10 2017

Issue description

See https://jsfiddle.net/dphsmr6d/3

Since Clipboard data hold space characters instead of  . So, "paste" command converts
space characters to  


Source HTML:
<p>X <em>Y</em> Z <a href="#">A</a></p>

Result:
<p>X&nbsp;<em>Y</em>&nbsp;Z&nbsp;<a href="https://fiddle.jshell.net/dphsmr6d/3/show/#">A</a><br></p>


Clipboard Data:
Version:0.9
StartHTML:0000000159
EndHTML:0000001892
StartFragment:0000000195
EndFragment:0000001856
SourceURL:https://fiddle.jshell.net/dphsmr6d/3/show/
<html>
<body>
<!--StartFragment--><span style="color: rgb(0, 0, 0); font-family: Meiryo; font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">X<span class="Apple-converted-space"> </span></span><em style="color: rgb(0, 0, 0); font-family: Meiryo; font-size: medium; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Y</em><span style="color: rgb(0, 0, 0); font-family: Meiryo; font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;"><span class="Apple-converted-space"> </span>Z<span class="Apple-converted-space"> </span></span><a href="https://fiddle.jshell.net/dphsmr6d/3/show/#" style="font-family: Meiryo; font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">A</a><!--EndFragment-->
</body>
</html> 
 
Components: Blink>Editing>Command
Project Member

Comment 2 by sheriffbot@chromium.org, Nov 14

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment