sanitize online with Winfy
We have hosted the application sanitize in order to run this application in our online workstations with Wine or directly.
Quick description about sanitize:
Sanitize is an allowlist-based HTML and CSS sanitizer. It removes all HTML and/or CSS from a string except the elements, attributes, and properties you choose to allow. Using a simple configuration syntax, you can tell Sanitize to allow certain HTML elements, certain attributes within those elements, and even certain URL protocols within attributes that contain URLs. You can also allow specific CSS properties, @ rules, and URL protocols in elements or attributes containing CSS. Any HTML or CSS that you don't explicitly allow will be removed. Sanitize is based on the Nokogiri HTML5 parser, which parses HTML the same way modern browsers do, and Crass, which parses CSS the same way modern browsers do. As long as your allowlist config only allows safe markup and CSS, even the most malformed or malicious input will be transformed into safe output.Features:
- HTML fragments
- HTML documents
- CSS stylesheets inside HTML style elements
- CSS properties inside HTML style attributes
- Standalone CSS stylesheets
- Standalone CSS properties
Programming Language: Ruby.
Categories:
HTML/XHTML
©2024. Winfy. All Rights Reserved.
By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.