Here is another generated file from my script, this one has more content, but no curlies.
File too large to post here:
I am absolutely confused. I just can’t find anything about that error in my files. But the problem is definitely somewhere in my generated markdown files.