Skip to content

Conversation

@afadesigns
Copy link

Summary

  • normalize attribute name handling so HTML .attr/.removeAttr lookups treat names case-insensitively
  • update attribute helpers to normalize storage while leaving XML mode untouched
  • add regression tests for HTML and XML attribute casing

Testing

  • npm run test:vi -- src/api/attributes.spec.ts

Fixes #581.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

.attr(name) should lowercase name property

1 participant