hypothesis / hypothesis/h

JSON LD schema.org metadata invalid on pages that integrate the client

Open
#7,968 0 comments 0 reactions 0 assignees View on GitHub
bug S4
Dominant language
Python
Stars
3.2k
Forks
459
Avg merge
27d 1h
Merged PRs (30d)
1

Description

# Description

Google Search Console detected the following error

[Unparsable structured data](https://search.google.com/search-console/r/unknown-type?resource_id=https%3A%2F%2Felifesciences.org%2F)

Parsing error: Missing ',' or '}'

# 2 articles are impacted:

https://elifesciences.org/articles/16415
https://elifesciences.org/articles/13764

**16415:**

```
},
"headline": "Ancient origin of lubricated joints in bony vertebrates",
"datePublished": "2016-07-19",
"author": [
```

**13664:**
```
"headline": "Distinct roles of visual, parietal, and frontal motor cortices in memory-guided sensorimotor decisions",
"datePublished": "2016-08-04",
"author": [
```

I suspect that something in the hypothesis client code is creating this bug. For our purpose we strip tags out of the headline value but you will certainly want to escape the string.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.