Dates are always wrapped in a HTML tag in the "REST Export" display for content fields in Drupal 10
This problem suddenly occourd when we upgraded from Drupal 9 to Drupal 10. We have rest export view that uses a content type that has a multi content field. Basically, in the response, it's there as a field and the value is a list of json objects of the referenced content. Here I have attached screenshots of the content types, view. And also I have included JSON snippets of the Drupal 9 response and Drupal 10.
Any help to understand why this happened is helpful. Talking about the impact, this caused one of our feeds to send out excess emails all of a sudden.
Drupal 9
[
{
"subject": "ACCESS Operations Portal now live",
"type": "Reconfiguration",
"content": "\u003Cp\u003EThe ACCESS Operations portal at\u003Ca href=\"//operations.access-ci.org/\"\u003E https://operations.access-ci.org/\u003C/a\u003E is now live. It includes high-level introductions to the ACCESS Operations project, including ACCESS infrastructure integration approaches, ACCESS operations policies, procedures, and best practices, infrastructure news and outages publishing, and ACCESS provided online services.\u003C/p\u003E",
"start_timestamp": "2022-08-29T20:00:00-0500",
"end_timestamp": "2022-12-31T08:00:00-0600",
"web_url": "https://operations1.access-ci.org/node/75",
"outage_id": "75",
"distribution_options": "Email only subscribers, Post to Slack",
"affected_infrastructure": [
{
"infra_id": "urn:ogf:glue2:operations.access-ci.org:resource:cider:resource.base:1362",
"infra_latest_status": "development",
"infra_resourceid": "operations.access-ci.org",
"uid": "\u003Cspan\u003Edrupaladmin\u003C/span\u003E",
"title": "ACCESS Operations Portal",
"created": "Sun, 08/14/2022 - 14:36"
}
]
}
]
Drupal 10
[
{
"subject": "ACCESS Operations Portal now live",
"type": "Reconfiguration",
"content": "\u003Cp\u003EThe ACCESS Operations portal at\u003Ca href=\"//operations.access-ci.org/\"\u003E https://operations.access-ci.org/\u003C/a\u003E is now live. It includes high-level introductions to the ACCESS Operations project, including ACCESS infrastructure integration approaches, ACCESS operations policies, procedures, and best practices, infrastructure news and outages publishing, and ACCESS provided online services.\u003C/p\u003E",
"start_timestamp": "2022-08-29T20:00:00-0500",
"end_timestamp": "2022-12-31T08:00:00-0600",
"web_url": "https://operations1.access-ci.org/node/75",
"outage_id": "75",
"distribution_options": "Email only subscribers, Post to Slack",
"affected_infrastructure": [
{
"infra_id": "urn:ogf:glue2:operations.access-ci.org:resource:cider:resource.base:1362",
"infra_latest_status": "development",
"infra_resourceid": "operations.access-ci.org",
"uid": "\u003Ca title=\"View user profile.\" href=\"/user/1\" class=\"username\"\u003Edrupaladmin\u003C/a\u003E",
"title": "ACCESS Operations Portal",
"created": "\u003Ctime datetime=\"2022-08-14T14:36:14-05:00\" title=\"Sunday, August 14, 2022 - 14:36\" class=\"datetime\"\u003ESun, 08/14/2022 - 14:36\u003C/time\u003E\n"
}
]
}
]