Skip to content

Fix non-breaking spaces in show 991 YAML frontmatter#2179

Open
2u841r wants to merge 1 commit intosyntaxfm:mainfrom
2u841r:fix-991-yaml-nbsp
Open

Fix non-breaking spaces in show 991 YAML frontmatter#2179
2u841r wants to merge 1 commit intosyntaxfm:mainfrom
2u841r:fix-991-yaml-nbsp

Conversation

@2u841r
Copy link
Copy Markdown
Contributor

@2u841r 2u841r commented Mar 30, 2026

Summary

  • The hosts list in show 991's frontmatter was indented with non-breaking spaces (U+00A0) instead of regular ASCII spaces
  • YAML parsers don't treat U+00A0 as whitespace, causing the parse error: could not find expected ':' while scanning a simple key at line 7 column 1
  • This likely prevented the show from being imported into the DB correctly

Fix

Replaced 6 non-breaking spaces with regular spaces in the hosts block indentation.

Relates to #2177

image

🤖 Generated with Claude Code

Hosts list was indented with non-breaking spaces (U+00A0) instead of
regular spaces, causing YAML parse errors.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

@2u841r is attempting to deploy a commit to the Syntax Team on Vercel.

A member of the Team first needs to authorize it.

@2u841r
Copy link
Copy Markdown
Contributor Author

2u841r commented Mar 30, 2026

chatgpt said:

This YAML error is likely caused by hidden non-breaking spaces (U+00A0) or another invisible character introduced via copy-paste.

YAML only recognizes standard spaces (U+0020) as valid whitespace. If a non-breaking space appears near a key (around line 7), the parser may fail with errors like:

could not find expected ':' while scanning a simple key

Even though the file looks correct visually, these hidden characters can break parsing.

Suggestion:

  • Re-type the affected line manually, or
  • Replace all non-breaking spaces with normal spaces

This kind of issue is easy to miss since it’s not visible in GitHub’s diff.

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