Skip to content

fix: escape ampersands in architecture.svg so it renders - #66

Merged
EmeditWeb merged 1 commit into
mainfrom
fix/architecture-svg-render
Sep 28, 2026
Merged

EmeditWeb merged 1 commit into
mainfrom
fix/architecture-svg-render

Conversation

@EmeditWeb

Copy link
Copy Markdown
Member

Summary

The architecture.svg diagram contained bare & characters in text labels (e.g. "students & small vendors"), which is invalid XML. When GitHub serves the SVG standalone via a raw <img> embed, the browser XML parser fails with xmlParseEntityRef: no name (line 14) and the diagram does not render.

This escapes all bare & to &amp; so the file is valid XML and renders correctly.

Changes

  • Escape & → &amp; in architecture.svg (text labels only; no visual change)

Test plan

  • Validated with an XML parser (xml.dom.minidom.parse) — parses clean, 0 bare &

@EmeditWeb
EmeditWeb merged commit 3dec865 into main Sep 28, 2026
4 checks passed
@EmeditWeb
EmeditWeb deleted the fix/architecture-svg-render branch September 28, 2026 15:55
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