First cut at implementing the full adoption agency algorithm. Currently contains an infinite loop which I am way too tired to find so to run it you need to remove the NotImplementedError at the start of endTagFormatting
First cut at implementing the full adoption agency algorithm. Currently contains an infinite loop which I am way too tired to find so to run it you need to remove the NotImplementedError at the start of endTagFormatting

--HG--
extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40197

alex/html5lib-python,html5lib/html5lib-python,dstufft/html5lib-python,mindw/html5lib-python,html5lib/html5lib-python,html5lib/html5lib-python,gsnedders/html5lib-python,gsnedders/html5lib-python,alex/html5lib-python,mgilson/html5lib-python,ordbogen/html5lib-python,mindw/html5lib-python,dstufft/html5lib-python,alex/html5lib-python,mgilson/html5lib-python,ordbogen/html5lib-python,ordbogen/html5lib-python,dstufft/html5lib-python,mgilson/html5lib-python,mindw/html5lib-python