[wp-trac] [WordPress Trac] #46471: Malformed content when using the More block and stripping the teaser

WordPress Trac noreply at wordpress.org
Wed Apr 24 05:40:09 UTC 2019


#46471: Malformed content when using the More block and stripping the teaser
-------------------------------------+---------------------
 Reporter:  lukecarbis               |       Owner:  azaozz
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.2
Component:  Editor                   |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------
Changes (by azaozz):

 * owner:  (none) => azaozz
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45261" 45261]:
 {{{
 #!CommitTicketReference repository="" revision="45261"
 Remove the `core/more` block delimiters when splitting post_content on the
 `<!--more-->` tag.
 Fixes:
 - Parsing of blocks in the second half of post_content.
 - Outputting malformed HTML when `the_content( null, true )` or  `<!--
 noteaser-->` is used.

 Props lukecarbis, garrett-eclipse, birgire.
 Fixes #46471.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46471#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list