[wp-trac] [WordPress Trac] #39570: Extra markup added to links with IE11

WordPress Trac noreply at wordpress.org
Fri Jan 13 01:54:46 UTC 2017


#39570: Extra markup added to links with IE11
--------------------------+------------------
 Reporter:  ChrisWiegman  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.8
Component:  TinyMCE       |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------
Changes (by azaozz):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => 4.8


Comment:

 Confirmed. Also happens in Edge on Win10. Similar to the cruft that Chrome
 inserts but only when pasting links (fortunately).

 The good news is that we already have filtering on paste for Chrome/WebKit
 what we can also turn on for IE/Edge.

 The bad news is that Edge is can also insert other tags without inline
 styles, in particular seeing `<u>`. The only thing I can think of is to
 strip all `<u>` wrapped in links.

 This will remove the `<u>` even if the original content that was copied
 had that tag combination. However it seems better to "clean up" such
 cases.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39570#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list