[wp-trac] [WordPress Trac] #44310: Apostrophe and/or Hyphen in Titles Rendered as ’ and – When Added as Link in Editor

WordPress Trac noreply at wordpress.org
Wed Jun 6 16:57:17 UTC 2018


#44310: Apostrophe and/or Hyphen in Titles Rendered as ’ and – When
Added as Link in Editor
-----------------------------+------------------------------
 Reporter:  midihead         |       Owner:  (none)
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Editor           |     Version:  4.9.6
 Severity:  normal           |  Resolution:
 Keywords:  has-screenshots  |     Focuses:
-----------------------------+------------------------------
Changes (by midihead):

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 Thanks for your response. I'm not sure that I clearly explained the issue
 the first time. In your screenshot, it appears that you typed out the
 apostrophe and the hyphen as text in the body of the editor instead of
 **inserting a link to an existing post or page that already contains an
 apostrophe and/or hyphen (with spaces) in the title**.

 Steps to reproduce:

 1. Create a post or page and insert an apostrophe and/or a hyphen (with
 spaces) in the title and save it.
 2. In any post or page, click the Insert/Edit Link button, search for the
 existing post that has the apostrophe and/or hyphen (with spaces) in the
 title, select that post from the list and click Apply.
 3. The inserted link will render the apostrophe as ’ and the hyphen
 (with spaces) as –

 To more clearly demonstrate how to reproduce this issue, I have recorded a
 short video where I clearly show and explain how to consistently reproduce
 this issue. [https://youtu.be/mPrzne9ZNkA]

 If you follow the steps above or in the video as I've shown, you should
 clearly see the issues with the apostrophe and hyphen occur.

 Thank you very much.

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


More information about the wp-trac mailing list