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

setting up "config" object #56

Closed
Bl4ck-h00d opened this issue Aug 27, 2021 · 1 comment
Closed

setting up "config" object #56

Bl4ck-h00d opened this issue Aug 27, 2021 · 1 comment

Comments

@Bl4ck-h00d
Copy link
Contributor

I would like to work on the "config" object for specifying allowed elements, attributes, etc.

@0xedward
Copy link
Collaborator

Hey @Bl4ck-h00d! :)

Unfortunately, the work you mentioned for the sanitizer object has already been done (See _normalizeConfig, _transformConfig, getDefaultConfiguration in src/sanitizer.js)

But there is still some work left to do for validating custom elements in _normalizeConfig if you're interested - #33

Going to close this issue, but feel free to reopen or file a new issue if there's something specific to the configuration object from the spec that we haven't implemented yet :)

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

No branches or pull requests

2 participants