File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,6 @@ function unComment(doc, content) {
271
271
return content
272
272
. replace ( / < ! - - / , '' )
273
273
. replace ( / - - > / , '' )
274
- . replace ( / < ! - - / g, '<!--' )
275
- . replace ( / - - > / g, '-->' ) ;
274
+ . replace ( / < ! \s * - \s * - / g, '<!--' )
275
+ . replace ( / - \s * - > / g, '-->' ) ;
276
276
}
Original file line number Diff line number Diff line change @@ -8451,7 +8451,6 @@ <h3>Graph Containers</h3>
8451
8451
</script>
8452
8452
-->
8453
8453
</ pre >
8454
- </ pre >
8455
8454
< table class ="statements "
8456
8455
data-result-for ="Combining multiple JSON-LD script elements into a single dataset-original "
8457
8456
data-to-rdf >
@@ -8537,15 +8536,15 @@ <h3>Graph Containers</h3>
8537
8536
data-content-type ="text/html ">
8538
8537
<!--
8539
8538
<script type="application/ld+json">
8540
- < !- -
8539
+ < ! - -
8541
8540
{
8542
8541
"@context": "https://json-ld.org/contexts/person.jsonld",
8543
8542
"@id": "http://dbpedia.org/resource/John_Lennon",
8544
8543
"name": "John Lennon",
8545
8544
"born": "1940-10-09",
8546
8545
"spouse": "http://dbpedia.org/resource/Cynthia_Lennon"
8547
8546
}
8548
- -- >
8547
+ - - >
8549
8548
</script>
8550
8549
-->
8551
8550
</ pre >
You can’t perform that action at this time.
0 commit comments