from_html now supports pagination, img and table tags