htmlschema.orgmicrodatajson-ld

Html tags inside json/ld articleBody value?


If I want to create an Article schema.org type with a json/ld format, should I have to put the html tags inside the articleBody's value?

Because I saw that if I use microdata, in the Structured Data Tool it appears the articleBody as a plain text without html tags.

Thanks


Solution

  • Just plain text:

    "articleBody": "You can paste your entire post in here, and yes it can get really really long."
    

    Sources:

    1. http://jsonld.com/article/
    2. https://developers.google.com/search/docs/data-types/articles