I ran into an issue using Claude where the CMS was no longer displaying any posts. I had it go through and examine all my tags and then consolidated some of them. When I was done none of the posts were visible. They were still there, just not displaying.
I found one article that had \'s in the excerpt field next to quotes, so I had Claude examine all my posts and it found:
Found it. Two articles have severely corrupted excerpts with multiple layers of backslash escaping:
- ye-know-all-things — excerpt has
\\\\\\\"ye know all things.\\\\\\\"— 5+ backslashes before the quote, which breaks YAML parsing - no-mansion-for-you — excerpt has
\\\\\\\"I've got a mansion just over the hilltop\\\\\\\"— same corruption
These double-quoted strings inside the excerpt value got re-escaped on every API write, building up layers of backslashes until the YAML parser chokes. This breaks the entire site because the generator can’t parse those files.
Fixing them now with clean excerpts that avoid embedded double quotes:
These posts were added to the CMS from Claude so Claude actually created the excerpts and because it takes the firsts few sentences to do so, if they have quotes in them, if you ask Claude to update them in the future it writes the \'s and breaks the site.
Possibly this is something that can be fixed?
In the meantime, I’ve trained Claude to create a summary of the post subject with no quotes in the excerpt field rather than using an actual excerpt.