Skip to content

Fix: quote font-family name 'JetBrains Mono' per CSS spec - #63

Open
claude[bot] wants to merge 1 commit into
masterfrom
fix/issue-60-quote-font-family
Open

Fix: quote font-family name 'JetBrains Mono' per CSS spec#63
claude[bot] wants to merge 1 commit into
masterfrom
fix/issue-60-quote-font-family

Conversation

@claude

@claude claude Bot commented Jun 16, 2026

Copy link
Copy Markdown

Fixes #60

What changed

Wrapped the JetBrains Mono font family name in single quotes in the body CSS rule (demo/index.html, line 13):

-  font-family: JetBrains Mono, monospace;
+  font-family: 'JetBrains Mono', monospace;

Why

The CSS spec requires that font family names containing whitespace be quoted. Without quotes the browser parses JetBrains Mono as two tokens rather than a single name, which is non-conformant and can fail in strict or legacy parsers.

How to verify

Open demo/index.html — no visual change should occur. Run the page through a CSS validator; the font-family declaration should now pass without warnings.

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.

Quote font-family name with spaces in body CSS rule

0 participants