Repository navigation
Fix apostrophes displayed as HTML entities in Files pane - #16814
Merged
Merged
Conversation
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
The SafeHtmlTemplate was using value.asString() which returns HTML-escaped text, then passing it as a String parameter which gets escaped again by the template. This caused entities like ' to be displayed literally. Fix by using SafeHtml parameter directly, which renders entities correctly in both the title attribute and visible content. Fixes #16808 Co-Authored-By: Claude Opus 4.5 <[email protected]>
kevinushey
force-pushed
the
fix/apostrophe-html-entity-display
branch
from
January 12, 2026 19:57
19f579a to
8c41c43
Compare
kevinushey
marked this pull request as draft
January 12, 2026 20:02
kevinushey
marked this pull request as ready for review
January 12, 2026 20:16
Member
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Addresses #16808
Summary
Fixes apostrophes being displayed as
'in the Files pane (both in the file name and the hover tooltip) on Windows with French locale.The bug was introduced in commit bffbcf7 (May 2025) when
LinkColumn.javawas refactored to useSafeHtmlTemplates. The template was usingvalue.asString()which returns HTML-escaped text, then passing it as a String parameter which gets escaped again by the template:Fix
Use
SafeHtmlparameter directly, which renders entities correctly in both the title attribute and visible content:Test plan
It's a test)🤖 Generated with Claude Code