fix(og-image): restore space between "for" and "agents" in tagline#235
Merged
Conversation
The trailing space inside the first <tspan> was collapsed at render time, producing "foragents" in the social card shown on X. Replace it with a geometric dx offset on the "agents" tspan (a non-breaking space did not survive the serif fallback font) and regenerate og-image.png.
Skill Validation ReportNo skill files were changed in this PR — validation skipped. |
raymondk
approved these changes
Jun 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reported from an X link preview: the social card read "A library foragents" — no space between "for" and "agents".
Cause
In
public/og-image.svgthe tagline is split across<tspan>elements. The trailing space inside the first tspan (A library for) was collapsed at render time, so "for" and "agents" ran together in the rasterizedog-image.pngthat X actually displays.Fix
dx="9"offset on theagentstspan. A non-breaking space ( ) did not survive the serif fallback font duringrsvg-convert, butdxrenders reliably.public/og-image.pngper the repo workflow (rsvg-convert -w 1200 -h 630 public/og-image.svg -o public/og-image.png).The live homepage tagline was already correct — this only affected the social-card image.
Note
X caches OG images aggressively. After deploy, the card may need a re-scrape via the X Post Inspector / Card Validator (or wait for cache expiry) before the corrected image appears.