Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#51080 new defect (bug)

Spacing in embed when para begins with emoji

Reported by: superpoincare's profile superpoincare Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5
Component: Editor Keywords:
Focuses: Cc:

Description

If a post has multiple paras, the embed removes the newline and adds a spacing.

Which seems fine but if a para in the original post begins with an emoji, then the spacing seems to not be there in the embed.

Change History (2)

#1 @SergeyBiryukov
5 years ago

  • Focuses ui-copy removed

Hi there, thanks for the report!

Could you provide some steps to reproduce the issue on a clean install? Some screenshots would be helpful too.

#2 @superpoincare
5 years ago

On second thoughts it's just when an image appears between two paras which haven't been formatted with spaces. So although it appears visually fine, it removes spaces in search results and would also remove in embed which also removes the image.

Screenshots:

https://i.imgur.com/dAkbK2M.png https://i.imgur.com/7enVZEG.png https://i.imgur.com/bIcQGHy.png

I've used the classic editor plugin on a fresh install, but historic posts have been made using the classic editor and search results would return results made in the classic editor too.

Note: See TracTickets for help on using tickets.