NextGen Provider: add HTML5lib features to Beautiful Soup