Make WordPress Core

Opened 2 years ago

Last modified 8 months ago

#46655 new defect (bug)

Block editor adding line breaks between blocks

Reported by: jchristopher Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.1
Component: Editor Keywords:
Focuses: Cc:


When a post is created in the block editor the generated HTML receives 3 line breaks in between blocks. This isn't much of an issue in the browser but the line breaks are also inserted into feeds which are then displayed in some RSS readers.

Change History (3)

#1 @noisysocks
8 months ago

@jchristopher: Which RSS readers have issues?

The three line breaks probably come as a result of filters on the_content stripping out block editor <!-- --> markup.

#2 @SergeyBiryukov
8 months ago

#51302 was marked as a duplicate.

#3 @jchristopher
8 months ago

I've seen it most notably on Reeder on iOS 👍

Note: See TracTickets for help on using tickets.