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

Filter multiple class values through whitelist #205

Open
Liuxc95 opened this issue Mar 6, 2024 · 0 comments
Open

Filter multiple class values through whitelist #205

Liuxc95 opened this issue Mar 6, 2024 · 0 comments

Comments

@Liuxc95
Copy link

Liuxc95 commented Mar 6, 2024

When I was dealing with the class attribute, I found that multiple class values could not be filtered through the whitelist. For example, <p class="class1 class2 class3"><p>, the whitelist is [class1, class3] and I hope to get<p class="class1 class3"><p>after filtering. How can I achieve this?

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

1 participant