We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd like content within the main element to be preserved. Currently, it's removed when scrubbing:
main
html = "<body>body<main>main</main></body>" Loofah.fragment(html).scrub!(:whitewash) # => <body>body</body>
Reference: https://www.w3schools.com/tags/tag_main.asp
The text was updated successfully, but these errors were encountered:
Hi Martha,
Thanks for bringing this up! I can't think of any reason not to consider this. Let's continue the conversation in the PR.
Sorry, something went wrong.
update CHANGELOG
8e788df
Related to #133 Related to #134
No branches or pull requests
I'd like content within the
main
element to be preserved. Currently, it's removed when scrubbing:Reference: https://www.w3schools.com/tags/tag_main.asp
The text was updated successfully, but these errors were encountered: