Added workaround for bs4/html5lib bug that prevents it from parsing
multi-valued attributes on the <html> tag