v0.8.7 — License + HACS badges: PNG (raw.gh SVG sandbox fix)
Korean infant/child reference data integration for Home Assistant.
🐛 Real root cause finally found
`raw.githubusercontent.com` adds a `Content-Security-Policy: default-src 'none'; ... sandbox` response header for any `*.svg` file it serves. Some HACS frontend environments respect that sandbox and refuse to render the inline image; PNG responses don't carry the header and always render.
That's why the Toss / PayPal donation PNGs always worked in the same environments where the License SVG (v0.8.6's self-hosted one, and shields.io's original) didn't.
Fix
| Before | After | |
|---|---|---|
| License | `images/license-badge.svg` | `images/license-badge.png` (1434 bytes, 82×20 RGBA) |
| HACS-Custom | `shields.io/badge/HACS-Custom-...` | `images/hacs-custom-badge.png` (2087 bytes, self-hosted) |
Unchanged badges
- Validate / Tests — served from `github.com` (not `raw.githubusercontent.com`), no SVG sandbox
- Release — dynamic shields.io URL that hasn't been reported broken; self-hosting would defeat the auto-refresh
Upgrade
HACS → Integrations → 한국 영유아 키트 → ⋮ → UPDATE (or REDOWNLOAD). All five badges should render this time, including License.
No code, schema, or behavior changes from v0.8.6.
Full CHANGELOG: CHANGELOG.md