I have prepared a patch to fix this in Ubuntu, because we already build php8.4 with the new libxml2 there: https://code.launchpad.net/~rr/ubuntu/+source/php-tijsverkoyen-css-to-inline-styles/+git/php-tijsverkoyen-css-to-inline-styles/+merge/490202 I have raised an issue and sent the relevant part of the patch upstream: https://github.com/tijsverkoyen/CssToInlineStyles/issues/253
I'm still not sure on how they'll fix the encoding test failure, so I commented it out for now. Please tell me if it is fine from the Debian side to pick this up from Ubuntu when you do the libxml2 transition, or if I should send it myself somehow (salsa MR, patch here?)

