Work around broken json parsing in latest pygments

In version 2.7.0 pygments contains this change[0] to be stricter
when parsing json, breaking highlighting for some of our samples.
This patch fixes the json examples.

[0] 9514e794e0

Change-Id: I59adc546dbf8079bd5cc3aab4a1500360649d210
This commit is contained in:
Jens Harbott 2020-10-27 11:18:53 +00:00 committed by Michael Johnson
parent 769a55c2e5
commit 5c4891745b
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ make the following API calls.
{
"pattern" : "^([A-Za-z0-9_\\-]+\\.)*example\\.com\\.$",
"description" : "This blacklists \*.example.com."
"description" : "This blacklists *.example.com."
}
Response:
@ -49,7 +49,7 @@ Response:
X-Openstack-Request-Id: req-bfcd0723-624c-4ec2-bbd5-99e985efe8db
{
"description": "This blacklists \*.example.com.",
"description": "This blacklists *.example.com.",
"links": {
"self": "http://127.0.0.1:9001/v2/blacklists/af91edb5-ede8-453f-af13-feabdd088f9c"
},