Skip to content
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

replace custom code with html-entities package #189

Merged
merged 2 commits into from Feb 12, 2024

Conversation

psorensen
Copy link
Contributor

@psorensen psorensen commented Feb 7, 2024

Description of the Change

Replaces use of custom html entity decoding code in favor of WP package

Closes #56

How to test the Change

Reorder nested pages and confirm child-page dash indicators do not get encoded

Changelog Entry

Changed - Replaced custom HTML entity decoding code in favor of the @wordpress/html-entities package.

Credits

Props @psorensen

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@github-actions github-actions bot added this to the Future Release milestone Feb 7, 2024
@github-actions github-actions bot added the needs:feedback This requires feedback to determine next steps. label Feb 7, 2024
Copy link
Contributor

github-actions bot commented Feb 7, 2024

@psorensen thanks for the PR! Could you please fill out the PR template with description, changelog, and credits information so that we can properly review and merge this?

@github-actions github-actions bot added needs:code-review This requires code review. and removed needs:feedback This requires feedback to determine next steps. labels Feb 7, 2024
@jeffpaul jeffpaul modified the milestones: Future Release, 2.7.0 Feb 7, 2024
@dkotter dkotter requested review from peterwilsoncc and removed request for dkotter and jeffpaul February 7, 2024 15:37
Copy link
Contributor

@peterwilsoncc peterwilsoncc left a comment

Choose a reason for hiding this comment

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

LGTM and tests well.

@jeffpaul jeffpaul merged commit ff89d84 into develop Feb 12, 2024
13 of 14 checks passed
@jeffpaul jeffpaul deleted the use-html-entities-package branch February 12, 2024 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:code-review This requires code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement @wordpress/html-entities package
3 participants