Files
phoenix-conventions/changelog/2026-04-30.md
T
2026-04-30 07:04:24 -07:00

28 lines
938 B
Markdown

# Phoenix Digest — 2026-04-30
## Bug Fixes
### #6667 — Fix live_title having line breaks (lubien)
**Merged:** 2026-04-29T17:20:23Z
The `phx.new` generator template had `<.live_title>` content on separate lines.
The HEEx formatter injected literal newlines into the rendered `<title>` tag,
which appeared in link previews on Discord, WhatsApp, and Telegram.
**Fix:** Collapse the template to a single line with `phx-no-format`, preventing
the formatter from re-introducing whitespace.
**Impact:** Every new Phoenix 1.8 project shipped this cosmetic bug. Users had
to manually add `phx-no-format` as a workaround.
**Discussion:** Issue reported and PR landed same day. SteffenDE (core team)
requested the PR, lubien delivered within the hour.
- [PR #6667](https://github.com/phoenixframework/phoenix/pull/6667)
- [Issue #6666](https://github.com/phoenixframework/phoenix/issues/6666)
---
*Light day. One quick community fix.*