Facepalm - you're right, my regexes got a little too aggressive. I've reposted it with the formatting intact.
I also posted a version as PDF - again it has the linked TOC which makes it easier to navigate. The PDF isn't as nice as the HTML though.
[PDF] http://bit.ly/inAWAc