HubPress / hubpress.io

A web application to build your blog on GitHub
MIT License
2.81k stars 2.62k forks source link

When there is a comma in the title, the publish fails. #533

Open peter-lawrey opened 6 years ago

peter-lawrey commented 6 years ago

As I had just upgraded to 0.8.1 it wasn't clear that the failing post was an old one. After starting from scratch and re-importing each article, I found that having a , in the title causes this error

Repository.js:922 Uncaught (in promise) TypeError: Cannot read property 'sha' of null
    at Repository.js:922
    at <anonymous>

Note: if I remove the post, it also goes for a spin after updating the index page, but I don't see an error.

After deleting the article and re-importing without this comma it worked.