Skip to content

Excerpt Block Displaying Markup Preceding Post Body Text #178

@wholemilklatte

Description

@wholemilklatte

Describe the bug
A clear and concise description of what the bug is.

I'm using some post tile landing page templates in the free version of ollie. The post excerpt block is displaying several characters of markup before the first word of the post. It's also including headline text as part of the excerpt (H1-H6) rather than the actual post body content.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

I'm seeing this on every post on my site which include custom post types. It does not show the markup in the editor (gutenberg) view, only when viewing the webpages.

Expected behavior
A clear and concise description of what you expected to happen.

The excerpt block should only show text from the post, it should not show any of the markup preceding the post text. It would be great if the block provided filtering options (eg: don't display H1-H6 text etc).

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

MacOS 15.2
Firefox 134.0.2

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

n/a

Additional context
Add any other context about the problem here.

I can work around this by putting specific text in the excerpt field of the post - which overrides what the excerpt block would auto select. It's just tedious to make updates that way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions