Open Alex3917 opened 9 months ago
I'm also encountering this error, which makes it pretty difficult to use the module.
I encountered this exact issue when replacing Bleach with nh3, and I had to remove "rel" from the attributes dict to avoid the error. Taking a look at the docs, I found:
link_rel (str) –
Configures a rel attribute that will be added on links, defaults to noopener noreferrer. To turn on rel-insertion, pass a space-separated list. If rel is in the generic or tag attributes, this must be set to None.
Hope this helps.