The libxml2 in buster has an HTML whitespace bug

Created on 28 May 2022, over 2 years ago
Updated 6 November 2023, about 1 year ago

Problem/Motivation

There is a whitespace bug in the libxml2 version 2.9.4 used by testbot - some HTML tags will be collapsed together without any whitespace. I haven't tracked down exactly which version resolved the issue, but it may be "Initialize keepBlanks in HTML parser" which was a bugfix in 2.9.5

Steps to reproduce

See e.g. https://bugs.php.net/bug.php?id=78129 for a reproduce case. echo filter_dom_serialize(filter_dom_load($markup)); can be called on the markup to reproduce.

Proposed resolution

Whatever is the easiest way to patch/upgrade libxml2 should resolve this, e.g. upgrading to debian bullseye?

Remaining tasks

Figure out how to resolve and create a patch / MR.

πŸ“Œ Task
Status

RTBC

Component

PHP Containers

Created by

πŸ‡ΊπŸ‡ΈUnited States mfb San Francisco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024