Skip to content

Set spellcheck=false attribute on silence filter <input>.#3529

Closed
dsymonds wants to merge 1 commit intoprometheus:mainfrom
dsymonds:avoid-smartquotes
Closed

Set spellcheck=false attribute on silence filter <input>.#3529
dsymonds wants to merge 1 commit intoprometheus:mainfrom
dsymonds:avoid-smartquotes

Conversation

@dsymonds
Copy link
Contributor

This hints to iOS Safari and other browsers that they shouldn't use spellcheck, but, more importantly, shouldn't use smart quotes (like “this” instead of "this"). This matters here because Alertmanager requires quotes for a filter but won't accept smart quotes, making it tedious since the default input keyboard will normally use them automatically.

This hints to iOS Safari and other browsers that they shouldn't use
spellcheck, but, more importantly, shouldn't use smart quotes (like
“this” instead of "this"). This matters here because Alertmanager
requires quotes for a filter but won't accept smart quotes, making it
tedious since the default input keyboard will normally use them
automatically.

Signed-off-by: David Symonds <dsymonds@gmail.com>
@dsymonds
Copy link
Contributor Author

I know I'm supposed to include an updated asset/*_vfsdata.go in the PR, but I can't seem to get all the Elm dev stuff working on my machine, so would be happy for someone else to take over this PR and complete it. I've tested it manually.

@SoloJacobs SoloJacobs self-assigned this Dec 12, 2025
@SoloJacobs SoloJacobs self-requested a review December 12, 2025 18:36
SoloJacobs added a commit to SoloJacobs/alertmanager that referenced this pull request Dec 12, 2025
Closes: prometheus#3529
Signed-off-by: Solomon Jacobs <solomonjacobs@protonmail.com>
@SoloJacobs
Copy link
Contributor

I like this change, and have done the follow-up you requested here: #4811

@dsymonds
Copy link
Contributor Author

Thanks @SoloJacobs!

SoloJacobs added a commit to SoloJacobs/alertmanager that referenced this pull request Jan 29, 2026
Closes: prometheus#3529
Signed-off-by: Solomon Jacobs <solomonjacobs@protonmail.com>
@SuperQ SuperQ closed this in aa3296c Jan 30, 2026
@dsymonds dsymonds deleted the avoid-smartquotes branch January 30, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants