[wp-trac] [WordPress Trac] #36626: Inserting a PDF in text editor produces double quotes in anchor href

WordPress Trac noreply at wordpress.org
Thu Apr 21 20:10:30 UTC 2016


#36626: Inserting a PDF in text editor produces double quotes in anchor href
-----------------------------+-----------------------------
 Reporter:  johnjamesjacoby  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Media            |    Version:  4.5
 Severity:  normal           |   Keywords:  needs-patch
  Focuses:                   |
-----------------------------+-----------------------------
 When inserting a PDF file into the content via the text/HTML editor, the
 mark-up it produces is malformed:

 {{{
 <a href="http://src.wordpress-develop.dev/wp-
 content/uploads/2016/04/thing.pdf"">thing</a>
 }}}

 Note the two trailing `"`'s at the end of the `href` attribute.

 I believe this is a regression from 4.4, which seems to work okay, but
 included a `rel=""` attribute, too.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36626>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list