Possible problem with JSON Feed
PezHead opened this issue · 3 comments
Hello, I've tried loading the JSON Feed (https://nshipster.com/feed.json) into a couple of different readers and they all seem to be having a problem parsing the JSON. Looking at the response, I think the problem might be in the content_html
properties. It looks like there is a leading line-break in each of the values.
I noticed this as well. I believe the problem is that the content_html attributes contain line break characters that are not escaped. You can see the issue with this line:
curl https://nshipster.com/feed.json | python -m json.tool
It complains about the first line break character inside the first content_html attribute.
After more trial and error than I'd like to admit, I managed to get JSONFeed validating successfully. Thanks for reporting this, @PezHead and @jbrayton. Please let me know if you run into any other issues with this.