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

docs(README.md): correct hook name in example and remove misleading comment #942

Merged
merged 2 commits into from Apr 25, 2024

Conversation

kyselberg
Copy link
Contributor

Summary

this pull request changes hook usage example

Background & Context

now hookEvent is passed only for uponSanitizeAttribute hook.
currently there is misleading example of hook usage, where the beforeSanitizeElements hook is used.

in order to avoid misunderstandings and simplify life for next users of lib, let's correct this mistake.

@cure53
Copy link
Owner

cure53 commented Apr 25, 2024

Oh, well spotted, thank you!

@cure53 cure53 merged commit c0d418c into cure53:main Apr 25, 2024
7 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.

None yet

2 participants