Skip to content

fix: decode uppercase HTML entities in meta-fetcher - #317

Merged
anurag629 merged 1 commit into
codercops:devfrom
anurag2787:add/html-entities
Oct 30, 2026
Merged

anurag629 merged 1 commit into
codercops:devfrom
anurag2787:add/html-entities

Conversation

@anurag2787

Copy link
Copy Markdown
Collaborator

Description

Fixes an issue where uppercase named HTML entities such as &, <, >, and " failed to decode in meta-fetcher because NAMED_ENTITIES only contained lowercase key

Closes #314

How I Tested This

Ran npm run check and npm run test

AI Assistance

ChatGPT was used to help with the implementation and tests

Type of Change

  • Bug fix
  • New template
  • New feature
  • Documentation
  • Tests
  • Refactoring
  • Performance improvement
  • Other (describe below)

Checklist

  • This PR targets dev
  • I was assigned the linked issue
  • npm run check passes
  • npm run test passes
  • For a bug fix: the new test fails without my change
  • Tested locally with npm run dev
  • Screenshots included for visual changes
  • New templates follow the Template Guidelines

Signed-off-by: Anurag Yadav <anuragyadav2787@gmail.com>
@anurag2787

Copy link
Copy Markdown
Collaborator Author

Hi @anurag629 could you please review and let me know if any changes required
Thanks!

@anurag629 anurag629 added the hacktoberfest-accepted PR counts for Hacktoberfest label Oct 30, 2026
@anurag629
anurag629 merged commit be98488 into codercops:dev Oct 30, 2026
3 of 4 checks passed
anurag629 pushed a commit that referenced this pull request Oct 30, 2026
Signed-off-by: Anurag Yadav <anuragyadav2787@gmail.com>
anurag629 added a commit that referenced this pull request Oct 31, 2026
#318)

* release: v1.8.0, forty-eight new templates and editor fixes

* Added HTML named entities (#317)

Signed-off-by: Anurag Yadav <anuragyadav2787@gmail.com>

* release: bring v1.8.0 up to dev as of #376

---------

Signed-off-by: Anurag Yadav <anuragyadav2787@gmail.com>
Co-authored-by: Anurag Yadav <143180737+anurag2787@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted PR counts for Hacktoberfest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Uppercase HTML named entities are not decoded in meta-fetcher

2 participants