Skip to content

Search highlights don’t disappear from URL when clicked #1841

@steffahn

Description

@steffahn

In search results, you get URLs such as https://doc.rust-lang.org/book/ch04-01-what-is-ownership.html?highlight=ownership#what-is-ownership that highlight the search results. It’s possible to press ESC to remove the highlights and update the URL accordingly. There’s also the option to click on any of the hightlights, which makes them invisible but does not update the URL.

I would appreciate if that changed, so that the URL get’s updated (i.e. the ?highlight=foo part removed) by clicking on a highlight, too. I only very recently learned about the ESC-key way in the first place and always had to edit the URL manually before, in order to share a link.

Metadata

Metadata

Assignees

Labels

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