metatroncubeswdev 3749b4d134
Some checks failed
CI / Lint, Unit & Integration Tests (push) Has been cancelled
fix: decode HTML entities in storefront widget label attributes
Liquid's `| escape` filter encodes apostrophes/ampersands before the label
strings land in data-* attributes; depending on how the theme processes
translations that could survive into `dataset` still entity-encoded and then
render literally (e.g. "Couldn't load available dates") once assigned to
textContent. readConfig now decodes entities once via a detached <textarea>,
routed through a shared get(key, fallback) helper for every label + heading.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-04 01:44:48 -04:00
..