Is there a HTML clean/tidy library or module written in pure python? I
found mxTidy, but it's a interface to command-line tool.
What I'm searching is something that will accept a list of allowed tags
and/or attributes and strip the rest from HTML string.
found mxTidy, but it's a interface to command-line tool.
What I'm searching is something that will accept a list of allowed tags
and/or attributes and strip the rest from HTML string.
Comment