Version 3

Rewrote from scratch,
Fixed tables (Added vertical cell merge support, improved colspans),
Fixed bugs with lists,
No longer requires htmlTidy to clean up the output in complicated cases,
Much cleaner sourcecode