[wp-trac] [WordPress Trac] #35334: Pasting this text from Google results in alternating letters being linked
WordPress Trac
noreply at wordpress.org
Wed Feb 24 01:45:51 UTC 2021
#35334: Pasting this text from Google results in alternating letters being linked
---------------------------+--------------------------------
Reporter: paulschreiber | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Editor | Version: 4.4
Severity: normal | Resolution: reported-upstream
Keywords: | Focuses:
---------------------------+--------------------------------
Changes (by sabernhardt):
* status: new => closed
* resolution: => reported-upstream
Comment:
@paulschreiber I'm closing the ticket because it's a Google Docs bug. If
you could post a link to that report, please do.
After exporting the Google Docs file to .docx and then using Word to save
that as HTML, I can confirm the Classic Editor pastes the one-letter links
copied from the document. In Google Docs, you can also see the link
preview shows and disappears when moving the cursor to alternating
letters.
Word HMTL exported from Google Docs:
{{{
<p class=MsoNormal style='margin-bottom:8.0pt;line-
height:107%;border:none;
mso-padding-alt:31.0pt 31.0pt 31.0pt 31.0pt;mso-border-shadow:yes'><span
lang=EN style='font-family:"Calibri","sans-serif";mso-fareast-font-
family:Calibri'>Blah
foo bar </span><span lang=EN><a
href="http://fivethirtyeight.com/features/how-the-golden-state-warriors-
are-breaking-the-nba/"><span
style='font-family:"Calibri","sans-serif";mso-fareast-font-family:Calibri;
color:#0563C1'>this season</span></a></span><span lang=EN style='font-
family:
"Calibri","sans-serif";mso-fareast-font-family:Calibri'> </span><span
lang=EN><a
href="http://fivethirtyeight.com/features/how-the-golden-state-warriors-
are-breaking-the-nba/"><span
style='font-family:"Calibri","sans-serif";mso-fareast-font-family:Calibri;
color:windowtext;text-decoration:none;text-underline:none'>(as
of</span></a></span><span
lang=EN style='font-family:"Calibri","sans-serif";mso-fareast-font-
family:Calibri'>
</span><span lang=EN><a
href="http://fivethirtyeight.com/features/how-the-golden-state-warriors-
are-breaking-the-nba/"><span
style='font-family:"Calibri","sans-serif";mso-fareast-font-family:Calibri;
color:windowtext;text-decoration:none;text-
underline:none'>l</span></a></span><span
lang=EN style='font-family:"Calibri","sans-serif";mso-fareast-font-
family:Calibri'>a</span><span
lang=EN><a
href="http://fivethirtyeight.com/features/how-the-golden-state-warriors-
are-breaking-the-nba/"><span
style='font-family:"Calibri","sans-serif";mso-fareast-font-family:Calibri;
color:windowtext;text-decoration:none;text-
underline:none'>s</span></a></span><span
lang=EN style='font-family:"Calibri","sans-serif";mso-fareast-font-
family:Calibri'>t</span><span
lang=EN><a
href="http://fivethirtyeight.com/features/how-the-golden-state-warriors-
are-breaking-the-nba/"><span
style='font-family:"Calibri","sans-serif";mso-fareast-font-family:Calibri;
color:windowtext;text-decoration:none;text-underline:none'>
</span></a></span><span
lang=EN style='font-family:"Calibri","sans-serif";mso-fareast-font-
family:Calibri'>w</span><span
lang=EN><a
href="http://fivethirtyeight.com/features/how-the-golden-state-warriors-
are-breaking-the-nba/"><span
style='font-family:"Calibri","sans-serif";mso-fareast-font-family:Calibri;
color:windowtext;text-decoration:none;text-
underline:none'>e</span></a></span><span
lang=EN style='font-family:"Calibri","sans-serif";mso-fareast-font-
family:Calibri'>e</span><span
lang=EN><a
href="http://fivethirtyeight.com/features/how-the-golden-state-warriors-
are-breaking-the-nba/"><span
style='font-family:"Calibri","sans-serif";mso-fareast-font-family:Calibri;
color:windowtext;text-decoration:none;text-
underline:none'>k</span></a></span><span
lang=EN style='font-family:"Calibri","sans-serif";mso-fareast-font-
family:Calibri'>)</span></p>
}}}
Pasted markup in Classic Editor (the link is removed from the space, too):
{{{
Blah foo bar <a href="http://fivethirtyeight.com/features/how-the-golden-
state-warriors-are-breaking-the-nba/">this season</a> <a
href="http://fivethirtyeight.com/features/how-the-golden-state-warriors-
are-breaking-the-nba/">(as of</a> <a
href="http://fivethirtyeight.com/features/how-the-golden-state-warriors-
are-breaking-the-nba/">l</a>a<a href="http://fivethirtyeight.com/features
/how-the-golden-state-warriors-are-breaking-the-nba/">s</a>t w<a
href="http://fivethirtyeight.com/features/how-the-golden-state-warriors-
are-breaking-the-nba/">e</a>e<a href="http://fivethirtyeight.com/features
/how-the-golden-state-warriors-are-breaking-the-nba/">k</a>)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35334#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list