[wp-trac] [WordPress Trac] #45324: Twitter auto embedding breaks if user name starts and ends with an underscore

WordPress Trac noreply at wordpress.org
Sat Nov 10 12:29:03 UTC 2018


#45324: Twitter auto embedding breaks if user name starts and ends with an
underscore
--------------------------+-----------------------------
 Reporter:  edent         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.9.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 1. Try to embed a Tweet where the user's name starts and ends with `_`
 1. For example
 `https://twitter.com/_sagesharp_/status/1061094348152918017`
 1. The text is rendered as
 `https://twitter.com/<em>sagesharp</em>/status/1061094348152918017` rather
 than an oembed.
 1. The JetPack MarkDown processor is incorrectly interpreting the
 underscores in a URL as being valid MarkDown.

 Tried on a fresh install of 4.9.8, with only JetPack installed, MarkDown
 editing switched on, and using the classic editor.

 This works fine for embedding `[tweet 1061094348152918017]`

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


More information about the wp-trac mailing list