[Keith Vetter] 2019-03-01 : A couple of recent weekend projects involved scraping and parsing web pages, e.g. [ao3]. To help reverse engineer the document format, I wanted a tool that would nicely format the HTML with proper indentation. Initially I just used a bunch of Emacs commands but that got old fast. I tried using [tdom], but it doesn't handle invalid HTML. I next tried html-tidy but I found it too verbose about HTML errors and too intrusive in it's trying to fix the bad HTML. So I decided to write my own HTML formatter. A long time ago (15 years!) I wrote [Parsing XML], so I decided to adapt that in creating an HTML formatter. One quirk in this code: for my needs, I don't want any JavaScript so I delete all