News for hackers. Stuff that matters.
Re:Show HN: HtmlWasher – An HTML cleanup tool by burnbabyburn on Wednesday April 26, 2017 @08:40AM (#14202433)
of this matter I really like 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)

Re:Show HN: HtmlWasher – An HTML cleanup tool by tyingq on Wednesday April 26, 2017 @08:47AM (#14202477)
Htmltidy is popular as well: 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.

Re:Show HN: HtmlWasher – An HTML cleanup tool by seky on Wednesday April 26, 2017 @08:53AM (#14202517)
yes - 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

Re:Show HN: HtmlWasher – An HTML cleanup tool by jtraffic on Wednesday April 26, 2017 @08:50AM (#14202504)
Bleach 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.

Re:Show HN: HtmlWasher – An HTML cleanup tool by seky on Wednesday April 26, 2017 @08:54AM (#14202526)
there is link to my company where is my identity - so it is not anonymous :-) but yes - why not, will fill there something more
Re:Show HN: HtmlWasher – An HTML cleanup tool by chriswarbo on Wednesday April 26, 2017 @11:03AM (#14203552)
I 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.
Re:Show HN: HtmlWasher – An HTML cleanup tool by fredley on Wednesday April 26, 2017 @09:10AM (#14202613)
Re:Show HN: HtmlWasher – An HTML cleanup tool by seky on Wednesday April 26, 2017 @09:37AM (#14202790)
my 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