Open mrmachine opened 7 years ago
I've solved a similar issue here: https://github.com/django-fluent/django-fluent-contents/blob/master/fluent_contents/utils/html.py This could be useful to create a pull request, it supports both the old and new style.
Since https://github.com/html5lib/html5lib-python/pull/110 was merged, we get: