Skip to content

Conversation

@ehuss
Copy link
Contributor

@ehuss ehuss commented Oct 22, 2025

This makes sure that the sidebar headings don't have the <mark> tag. When these are created, the Marker is unable to remove them from the sidebar (and we don't want them there in the first place).

I suspect we'll want more filtering in the future, but I'm not sure exactly what to filter. Alternatively, it could have an allow list of tags, and filter all others out.

@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Oct 22, 2025
@ehuss ehuss enabled auto-merge October 22, 2025 00:10
@ehuss ehuss added this pull request to the merge queue Oct 22, 2025
The search marker is getting copied into the sidebar, but it cannot be
dismissed.
@ehuss ehuss force-pushed the filtered-headings branch from 8ec8365 to 3b07ada Compare October 22, 2025 00:18
@ehuss ehuss removed this pull request from the merge queue due to a manual request Oct 22, 2025
@ehuss ehuss enabled auto-merge October 22, 2025 00:18
This makes sure that the sidebar headings don't have the `<mark>` tag.
When these are created, the Marker is unable to remove them from the
sidebar (and we don't want them there in the first place).

I suspect we'll want more filtering in the future, but I'm not sure
exactly what to filter. Alternatively, it could have an allow list of
tags, and filter all others out.
@ehuss ehuss force-pushed the filtered-headings branch from 3b07ada to 1881351 Compare October 22, 2025 00:19
@ehuss ehuss added this pull request to the merge queue Oct 22, 2025
Merged via the queue into rust-lang:master with commit 118c109 Oct 22, 2025
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: waiting on a review label Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants