-
Notifications
You must be signed in to change notification settings - Fork 32
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
✨ Add allowed
option for inline/block attributes
#115
✨ Add allowed
option for inline/block attributes
#115
Conversation
An example of such an attack: ![asd](-1){onerror="alert(1)"}
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
@joker21663 I reworked your PR 😅; to also work for blocks, and add a test If you wanna have a look and comment before I merge |
allowed
option for inline/block attributes
I'm not a programmer. I am a user who was forbidden by the security service to use your plugin without modification). I believe your code and I'm waiting for the merge and the new version so that I can use the plugin and make life easier for our accounting department. Thank you. |
adding allowed attributes to protect against XSS attacks.
An example of such an attack:
{onerror="alert(1)"}