Skip to content

fix: stop the detail page title rendering a literal · - #3

Merged
mrmcpowned merged 1 commit into
mainfrom
fix/detail-title-separator
Oct 27, 2026
Merged

mrmcpowned merged 1 commit into
mainfrom
fix/detail-title-separator

Conversation

@mrmcpowned

Copy link
Copy Markdown
Member

detailPage built its title as ${alert.title} · ${SITE_NAME}, and page() escapes whatever it is handed — so the entity became · and rendered as the literal text ·.

Long-standing in <title>, but newly visible: the OpenGraph metadata added in #1 feeds the same string to og:title, so a status link pasted into Discord unfurled with &middot; in the headline. Which is where these links get shared.

Fixed by using a literal · — the output is UTF-8, so it needs no entity. The two other &middot; uses are untouched: they sit in body HTML that is not passed through escape().

Before:

<title>OBS 33 stops … focused &amp;middot; GamePad Viewer status</title>

After:

<title>OBS 33 stops … focused · GamePad Viewer status</title>

🤖 Generated with Claude Code

page() escapes what it is handed, so the entity in the detail page title became
&amp;middot;. Long-standing in <title>, but the OpenGraph metadata now feeds the
same string to og:title, so a status link pasted into Discord unfurled with
&middot; in the headline.

The other two &middot; uses sit in body HTML that is not escaped, so they stay.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@mrmcpowned
mrmcpowned merged commit ef0b914 into main Oct 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant