Skip to content

Query loop excerpt begins with ">" #68614

@XiaoWXZ

Description

@XiaoWXZ

Description

I created a list of my latest blog posts using the Query Loop block. In the block editor, everything looks normal, but on the published page, the excerpt begins with ">".

Rather than "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed..."
It shows "> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed..."

This symbol (>) obviously should not be present.

Step-by-step reproduction instructions

  1. Create a WordPress site on the Twenty Twenty Four theme
  2. Create a query loop block ("image at left")
  3. Ensure there's an excerpt
  4. Publish
  5. Visit published page

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress 6.7.1, Twenty Twenty Four Theme
  • Safari on macOS
  • Gutenberg 20.0.0
  • PHP 8.4

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] Post ExcerptAffects the Post Excerpt Block[Block] Query LoopAffects the Query Loop Block[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions