#45324 closed defect (bug) (invalid)
Twitter auto embedding breaks if user name starts and ends with an underscore
Reported by: | edent | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.9.8 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
- Try to embed a Tweet where the user's name starts and ends with
_
- For example
https://twitter.com/_sagesharp_/status/1061094348152918017
- The text is rendered as
https://twitter.com/<em>sagesharp</em>/status/1061094348152918017
rather than an oembed. - 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]
Attachments (2)
Change History (4)
#1
@
6 years ago
- Component changed from General to Editor
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
Hi there and welcome to WordPress Trac!
You mentioned that you use Jetpack and that its Markdown processing incorrectly handles the Twitter URL.
Jetpack is a WordPress plugin developed by Automattic and is not part of WordPress core or anything. That means you have to report this issue directly to them as it's not caused by WordPress.
#2
@
6 years ago
Thanks. Raised as https://github.com/Automattic/jetpack/issues/10595
Note: See
TracTickets for help on using
tickets.
Incorrectly rendered tweet