diff --git a/.watermark.json b/.watermark.json new file mode 100644 index 0000000..c96e273 --- /dev/null +++ b/.watermark.json @@ -0,0 +1,7 @@ +{ + "source_repo": "phoenixframework/phoenix", + "last_digest_sha": "7dc2de3049eb6c3582942040ceb5d53389207ae9", + "last_digest_at": "2026-04-30T14:01:00Z", + "last_refresh_sha": null, + "last_refresh_at": null +} diff --git a/changelog/2026-04-30.md b/changelog/2026-04-30.md new file mode 100644 index 0000000..5f19eec --- /dev/null +++ b/changelog/2026-04-30.md @@ -0,0 +1,27 @@ +# 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 `` 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.*