Comment 3 for bug 2067707

Revision history for this message
scoder (scoder) wrote :

> In the API, HTMLParser has a strip_cdata option that says it replaces CDATA element by text, which is set to true by default. Should this just be removed from the API?

If it doesn't do anything, then deprecation seems a reasonable first step. We shouldn't break working user code by removing it.

I added a DeprecationWarning in
https://github.com/lxml/lxml/commit/fc57ffefe54509e7dbc76290665f4136de15b24a