Skip to content

fix(assets): escape the ampersand so the README banner renders - #11

Merged
Oyinkans0la12 merged 1 commit into
mainfrom
fix/readme-banner-svg
Sep 14, 2026
Merged

Oyinkans0la12 merged 1 commit into
mainfrom
fix/readme-banner-svg

Conversation

@Oyinkans0la12

Copy link
Copy Markdown
Collaborator

Fixes #1.

assets/splitstream-banner.svg was not well-formed XML — the subtitle contained a
bare &:

<text ...>PAYOUT COMPUTE & RELAY</text>

An unescaped & in XML starts an entity reference, so the parser aborts
(not well-formed (invalid token): line 23, column 137) and browsers will not
decode the file as an image. That is why the banner in README.md showed as a
broken image while the file itself, its path and the README markup were all fine.

One-character fix (& → &amp;), verified by parsing the file back:

$ python3 -c "import xml.dom.minidom as m; m.parse('assets/splitstream-banner.svg')"
XML OK

No code, config or dependency change; the Markdown is untouched because it was
never the problem.

`assets/splitstream-banner.svg` was not well-formed XML: the subtitle's
`PAYOUT COMPUTE & RELAY` was written with a bare `&`, which starts an entity
reference and makes browsers refuse to decode the file as an image. The banner
in the README therefore rendered as a broken image.

Closes #1
@Oyinkans0la12
Oyinkans0la12 merged commit 81eda0a into main Sep 14, 2026
1 check passed
@Oyinkans0la12
Oyinkans0la12 deleted the fix/readme-banner-svg branch September 14, 2026 11:35
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.

README banner is broken: assets/splitstream-banner.svg is not well-formed XML

1 participant