Compliance cases

These are the 6,835 inputs a submission must decode. Each output must match the expected text byte for byte. You can run the suite without reading it, or open any case to see its input and expected output.

Run the full compliance suite locally. Replace your-component.wasm with your compiled component. Download the suite

curl -fLo unescape_html.comply.wasm https://calculated.world/comply/unescape_html.wasm
qipx comply your-component.wasm --with unescape_html.comply.wasm
Clear

5,931 of 6,835 cases

Case Name Expected Note Size
001754 html5lib/namedEntities/1347 html5lib-tests ∵ Named entity: because; with a semi-colon 9 B
001755 html5lib/namedEntities/1348 html5lib-tests &bemptyv Bad named entity: bemptyv without a semi-colon 8 B
001756 html5lib/namedEntities/1349 html5lib-tests ⦰ Named entity: bemptyv; with a semi-colon 9 B
001757 html5lib/namedEntities/1350 html5lib-tests &bepsi Bad named entity: bepsi without a semi-colon 6 B
001758 html5lib/namedEntities/1351 html5lib-tests ϶ Named entity: bepsi; with a semi-colon 7 B
001759 html5lib/namedEntities/1352 html5lib-tests &bernou Bad named entity: bernou without a semi-colon 7 B
001760 html5lib/namedEntities/1353 html5lib-tests ℬ Named entity: bernou; with a semi-colon 8 B
001761 html5lib/namedEntities/1354 html5lib-tests &beta Bad named entity: beta without a semi-colon 5 B
001762 html5lib/namedEntities/1355 html5lib-tests β Named entity: beta; with a semi-colon 6 B
001763 html5lib/namedEntities/1356 html5lib-tests &beth Bad named entity: beth without a semi-colon 5 B
001764 html5lib/namedEntities/1357 html5lib-tests ℶ Named entity: beth; with a semi-colon 6 B
001765 html5lib/namedEntities/1358 html5lib-tests &between Bad named entity: between without a semi-colon 8 B
001766 html5lib/namedEntities/1359 html5lib-tests ≬ Named entity: between; with a semi-colon 9 B
001767 html5lib/namedEntities/1360 html5lib-tests &bfr Bad named entity: bfr without a semi-colon 4 B
001768 html5lib/namedEntities/1361 html5lib-tests 𝔟 Named entity: bfr; with a semi-colon 5 B
001769 html5lib/namedEntities/1362 html5lib-tests &bigcap Bad named entity: bigcap without a semi-colon 7 B
001770 html5lib/namedEntities/1363 html5lib-tests ⋂ Named entity: bigcap; with a semi-colon 8 B
001771 html5lib/namedEntities/1364 html5lib-tests &bigcirc Bad named entity: bigcirc without a semi-colon 8 B
001772 html5lib/namedEntities/1365 html5lib-tests ◯ Named entity: bigcirc; with a semi-colon 9 B
001773 html5lib/namedEntities/1366 html5lib-tests &bigcup Bad named entity: bigcup without a semi-colon 7 B
001774 html5lib/namedEntities/1367 html5lib-tests ⋃ Named entity: bigcup; with a semi-colon 8 B
001775 html5lib/namedEntities/1368 html5lib-tests &bigodot Bad named entity: bigodot without a semi-colon 8 B
001776 html5lib/namedEntities/1369 html5lib-tests ⨀ Named entity: bigodot; with a semi-colon 9 B
001777 html5lib/namedEntities/1370 html5lib-tests &bigoplus Bad named entity: bigoplus without a semi-colon 9 B
001778 html5lib/namedEntities/1371 html5lib-tests ⨁ Named entity: bigoplus; with a semi-colon 10 B
001779 html5lib/namedEntities/1372 html5lib-tests &bigotimes Bad named entity: bigotimes without a semi-colon 10 B
001780 html5lib/namedEntities/1373 html5lib-tests ⨂ Named entity: bigotimes; with a semi-colon 11 B
001781 html5lib/namedEntities/1374 html5lib-tests &bigsqcup Bad named entity: bigsqcup without a semi-colon 9 B
001782 html5lib/namedEntities/1375 html5lib-tests ⨆ Named entity: bigsqcup; with a semi-colon 10 B
001783 html5lib/namedEntities/1376 html5lib-tests &bigstar Bad named entity: bigstar without a semi-colon 8 B
001784 html5lib/namedEntities/1377 html5lib-tests ★ Named entity: bigstar; with a semi-colon 9 B
001785 html5lib/namedEntities/1378 html5lib-tests &bigtriangledown Bad named entity: bigtriangledown without a semi-colon 16 B
001786 html5lib/namedEntities/1379 html5lib-tests ▽ Named entity: bigtriangledown; with a semi-colon 17 B
001787 html5lib/namedEntities/1380 html5lib-tests &bigtriangleup Bad named entity: bigtriangleup without a semi-colon 14 B
001788 html5lib/namedEntities/1381 html5lib-tests △ Named entity: bigtriangleup; with a semi-colon 15 B
001789 html5lib/namedEntities/1382 html5lib-tests &biguplus Bad named entity: biguplus without a semi-colon 9 B
001790 html5lib/namedEntities/1383 html5lib-tests ⨄ Named entity: biguplus; with a semi-colon 10 B
001791 html5lib/namedEntities/1384 html5lib-tests &bigvee Bad named entity: bigvee without a semi-colon 7 B
001792 html5lib/namedEntities/1385 html5lib-tests ⋁ Named entity: bigvee; with a semi-colon 8 B
001793 html5lib/namedEntities/1386 html5lib-tests &bigwedge Bad named entity: bigwedge without a semi-colon 9 B
001794 html5lib/namedEntities/1387 html5lib-tests ⋀ Named entity: bigwedge; with a semi-colon 10 B
001795 html5lib/namedEntities/1388 html5lib-tests &bkarow Bad named entity: bkarow without a semi-colon 7 B
001796 html5lib/namedEntities/1389 html5lib-tests ⤍ Named entity: bkarow; with a semi-colon 8 B
001797 html5lib/namedEntities/1390 html5lib-tests &blacklozenge Bad named entity: blacklozenge without a semi-colon 13 B
001798 html5lib/namedEntities/1391 html5lib-tests ⧫ Named entity: blacklozenge; with a semi-colon 14 B
001799 html5lib/namedEntities/1392 html5lib-tests &blacksquare Bad named entity: blacksquare without a semi-colon 12 B
001800 html5lib/namedEntities/1393 html5lib-tests ▪ Named entity: blacksquare; with a semi-colon 13 B
001801 html5lib/namedEntities/1394 html5lib-tests &blacktriangle Bad named entity: blacktriangle without a semi-colon 14 B
001802 html5lib/namedEntities/1395 html5lib-tests ▴ Named entity: blacktriangle; with a semi-colon 15 B
001803 html5lib/namedEntities/1396 html5lib-tests &blacktriangledown Bad named entity: blacktriangledown without a semi-colon 18 B

Where these rules come from

Expected outputs come from Python’s html.unescape, changed to keep references to controls and noncharacters the way the WHATWG tokenizer does.