Skip to content

Unescape HTML entities in the name and description of Fig completion specs#179

Merged
bnavetta merged 1 commit into
mainfrom
ben/html-escape-name-description
Aug 14, 2025
Merged

Unescape HTML entities in the name and description of Fig completion specs#179
bnavetta merged 1 commit into
mainfrom
ben/html-escape-name-description

Conversation

@bnavetta
Copy link
Copy Markdown
Contributor

@bnavetta bnavetta commented Aug 13, 2025

Many of the Fig JSON completion specs include HTML entities like <. We don't process these escapes, which results in incorrect rendering.

It's a fairly minor change to unescape HTML entities when converting Fig specs into our own completion types.

Before

Screenshot 2025-08-12 at 5 00 51 PM

After

Screenshot 2025-08-13 at 6 44 04 PM

Copy link
Copy Markdown

@kevinchevalier kevinchevalier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoa! Nice work fixing this so quickly.

@bnavetta bnavetta merged commit 06bac89 into main Aug 14, 2025
2 checks passed
@bnavetta bnavetta deleted the ben/html-escape-name-description branch August 14, 2025 08:57
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