Make WordPress Core

Opened 7 years ago

#42258 new defect (bug)

Twitter embed link in posts generates an empty paragraph

Reported by: alexvorn2's profile alexvorn2 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9
Component: Embeds Keywords:
Focuses: Cc:

Description

When I look into the post, below the embed tweet I see an empty paragraph, when I look inside it, in the source I see a twitter script link: <script async src="platform.twitter.com/widgets.js" charset="utf-8">

So why it is like that? I think it should not add an empty paragraph after a tweet.

How to replicate:

  1. add a tweet link in the post: eg: https://twitter.com/BitsAndChipsEng/status/919845271831531520
  2. preview the post.

You will get an empty line, but if you will look into the source, you will see something like this:

<p><script async="" src="//platform.twitter.com/widgets.js" charset="utf-8"></script></p>

Change History (0)

Note: See TracTickets for help on using tickets.