6 ms·
of this matter I really like https://github.com/mozilla/bleach https://github.com/mozilla/bleach . is your project any different aside from the "service orient
by burnbabyburn 9y ago
of this matter I really like https://github.com/mozilla/bleach https://github.com/mozilla/bleach .
is your project any different aside from the "service oriented" nature? (also I don't see any usage method, if not from the browser)
- tyingq 9y agoHtmltidy is popular as well: https://github.com/htacg/tidy-html5 https://github.com/htacg/tidy-html5 Though, on second glance, it doesn't do what HtmlWasher is doing here...stripping out classes, etc. It just cleans it up, unmatched tags and so forth.
- seky 9y agoyes - but this is not an online service - I wanted to build something handy you can use when you are stressed at the office need to reuse some other HTML doc quickly no time to install anything :-) I also realized this tool/lib exists after doing Html Washer - I am considering to use their lib as an underlying lib for my project
- jtraffic 9y agoBleach also gives at least one use case for sanitizing html: "Bleach is intended for sanitizing text from untrusted sources." I think HtmlWasher should have something on the About tab.
- seky 9y agothere is link to my company where is my identity - so it is not anonymous :-) but yes - why not, will fill there something more
- chriswarbo 9y agoI think jtraffic meant adding a warning that HtmlWasher is not suitable for turning unsafe HTML into a safe version, e.g. for sanitising forum posts written in HTML.
- fredley 9y agoI prefer my files much cleaner: http://search.cpan.org/~dconway/Acme-Bleach-1.150/lib/Acme/Bleach.pm http://search.cpan.org/~dconway/Acme-Bleach-1.150/lib/Acme/B...
- seky 9y agomy project does not want to compete with any lib or commandline or other downloadable tool - yes - it's main purpose is convenience thanks, I will consider using Bleach as an underlying lib / part of my service