Comment 3 for bug 2046208

Revision history for this message
scoder (scoder) wrote :

Confirmed on macOS, but not in general. It fails on CI with the system library libxml2 2.9.4. When I build a static wheel with libxml2 2.12.3, it works.

BTW, a possible work-around is probably to encode the text string to UTF-8 and pass that into the HTML() function.

I think I've found a fix for 5.0.1.

https://github.com/lxml/lxml/commit/d83c37ddbde9285e58bd6f7bce73b4f31be4a1f2