Skip to content

Search summaries include unwanted anchor content #12320

Closed
@wlach

Description

@wlach

Describe the bug

In the latest version of Sphinx, search summaries include the anchor (which is often a character which is not present in a font). Example snippit:

image

Note F0C1 which is the paperclip character in the readthedocs theme

How to Reproduce

This is easily reproducible with any version of Sphinx since bf0bec3, when the bug was introduced. Simply perform a search and note that anchor content is in the results.

Environment Information

(skipping since not needed)

Sphinx extensions

(skipping since not needed)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions