|
275 | 275 | }, {
|
276 | 276 | "@id": "#tf004",
|
277 | 277 | "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest", "jld:HtmlTest"],
|
278 |
| - "name": "Flattens all script elements by default", |
| 278 | + "name": "Flattens first script element by default", |
279 | 279 | "purpose": "Tests embedded JSON-LD in HTML multiple script elements",
|
280 | 280 | "input": "html/f004-in.html",
|
281 | 281 | "context": "html/f004-context.jsonld",
|
282 | 282 | "expect": "html/f004-out.jsonld",
|
283 | 283 | "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
|
| 284 | + }, { |
| 285 | + "@id": "#tf005", |
| 286 | + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest", "jld:HtmlTest"], |
| 287 | + "name": "Flattens all script elements if extractAllScripts set to true", |
| 288 | + "purpose": "Tests embedded JSON-LD in HTML multiple script elements", |
| 289 | + "input": "html/f005-in.html", |
| 290 | + "context": "html/f005-context.jsonld", |
| 291 | + "expect": "html/f005-out.jsonld", |
| 292 | + "option": { |
| 293 | + "specVersion": "json-ld-1.1", |
| 294 | + "processorFeature": "HTML Script Extraction", |
| 295 | + "extractAllScripts": true |
| 296 | + } |
284 | 297 | }, {
|
285 | 298 | "@id": "#tr001",
|
286 | 299 | "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
|
|
0 commit comments