Skip to content

Conversation

@cure53
Copy link
Owner

@cure53 cure53 commented Oct 13, 2025

See above

cure53 and others added 13 commits September 17, 2025 13:57
Allow ADD_ATTR configuration option to receive a function with signature
(attributeName: string, tagName: string) => boolean, enabling granular
control over which attributes are allowed for specific elements.
Allow ADD_TAGS configuration option to receive a function with signature
(tagName: string) => boolean, enabling granular control over which tags
are allowed.
* feat: allow ADD_ATTR to accept a function

Allow ADD_ATTR configuration option to receive a function with signature
(attributeName: string, tagName: string) => boolean, enabling granular
control over which attributes are allowed for specific elements.

* feat: allow ADD_TAGS to accept a function

Allow ADD_TAGS configuration option to receive a function with signature
(tagName: string) => boolean, enabling granular control over which tags
are allowed.
@cure53 cure53 merged commit 36d1fbc into 3.x Oct 13, 2025
13 of 14 checks passed
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.

4 participants