Do a better job with the wrapper <div>s added by xhtmldiff and Maruku's to_html_tree method. More tests fixed.
Synced with latest HTML5lib. Added preliminary support (currently disabled) for sanitizing REXML trees.