Skip to content

[Toolkit] Make component rendering snapshots independent from the libxml version#3693

Merged
Kocal merged 1 commit into
symfony:3.xfrom
Kocal:toolkit-snapshot-libxml-encoding
Jul 5, 2026
Merged

[Toolkit] Make component rendering snapshots independent from the libxml version#3693
Kocal merged 1 commit into
symfony:3.xfrom
Kocal:toolkit-snapshot-libxml-encoding

Conversation

@Kocal

@Kocal Kocal commented Jul 5, 2026

Copy link
Copy Markdown
Member
Q A
Bug fix? no
New feature? no
Deprecations? no
Documentation? no
Issues Fix #...
License MIT

Since I changed how I installed PHP on my machine (from HomeBrew to Nix), it looks like libxml was updated and rendered snapshots by not converting "weird symbols" to HTML entities (e.g. מאומת stays מאומת instead of מאומת).

I then challenged Claude to write a path to normalize things between my machine and the CI, otherwise I (and other people with recent libxml) were not able to regenerate Toolkit snapshots.

…xml version

Since I changed how I installed PHP on my machine (from HomeBrew to Nix), it looks like `libxml` was updated and rendered snapshots by not converting "weird symbols" to HTML entities (e.g. `מאומת` stays `מאומת` instead of `×&symfony#158;×&symfony#144;×&symfony#149;×&symfony#158;ת`).

I then challenged Claude to write a path to normalize things between my machine and the CI, otherwise I (and other people with recent libxml) were not able to regenerate Toolkit snapshots.
@Kocal Kocal self-assigned this Jul 5, 2026
@carsonbot carsonbot added Toolkit Status: Needs Review Needs to be reviewed labels Jul 5, 2026
@Kocal Kocal merged commit d37ae1b into symfony:3.x Jul 5, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants