Skip to content

Ignore SVG text elements in search highlighting #2668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2025

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Apr 17, 2025

The SVG <text> tag does not seem to like having HTML tags mixed in, and the <mark> tag seems to prevent rendering. This adds it to the exclude list so that it doesn't try to mark content inside <text>.

@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Apr 17, 2025
@ehuss ehuss enabled auto-merge April 17, 2025 14:46
@ehuss ehuss added this pull request to the merge queue Apr 17, 2025
Merged via the queue into rust-lang:master with commit 36e5525 Apr 17, 2025
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: waiting on a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants