Error in the searcher due to an extra comma in search.json
ivaann2706 opened this issue · comments
I'm getting an error in the internal search engine. This seems to be related to the closed issue #46.
The following image shows the error that appears in the browser console.
I have detected that this happens when there are no posts, then the json that is generated has an extra comma, so it is not in a correct format:
[
.
.
.
{
"title": "Sample 9 Topic",
"tags": "",
"keywords": "sample",
"url": "p2_sample9.html",
"summary": "This is just a sample topic..."
}
,
]
I am going to create a pull request with a possible solution.