What does allow_element do in lxml.html.clean.Cleaner?

Aug. 23, 2019
9:37 p.m.
Hi, allow_element() is not documented. Could anybody explain what it does? Thanks. https://lxml.de/api/lxml.html.clean.Cleaner-class.html -- Regards, Peng

August 2019
5:26 a.m.
Peng Yu schrieb am 23.08.19 um 23:37:
allow_element() is not documented. Could anybody explain what it does? Thanks.
I added a docstring here: https://github.com/lxml/lxml/commit/8d56b24f5361c3203aa4eec41c3b91ecad02a78c Both methods are not meant to be called by user code, but there might be some use in overriding them in subclasses. Stefan
2010
Age (days ago)
2011
Last active (days ago)
1 comments
2 participants
participants (2)
-
Peng Yu
-
Stefan Behnel