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
000854 html5lib/namedEntities/0447 html5lib-tests 𝕂 Named entity: Kopf; with a semi-colon 6 B
000855 html5lib/namedEntities/0448 html5lib-tests &Kscr Bad named entity: Kscr without a semi-colon 5 B
000856 html5lib/namedEntities/0449 html5lib-tests 𝒦 Named entity: Kscr; with a semi-colon 6 B
000857 html5lib/namedEntities/0450 html5lib-tests &LJcy Bad named entity: LJcy without a semi-colon 5 B
000858 html5lib/namedEntities/0451 html5lib-tests Љ Named entity: LJcy; with a semi-colon 6 B
000859 html5lib/namedEntities/0452 html5lib-tests < Named entity: LT without a semi-colon 3 B
000860 html5lib/namedEntities/0453 html5lib-tests < Named entity: LT; with a semi-colon 4 B
000861 html5lib/namedEntities/0454 html5lib-tests &Lacute Bad named entity: Lacute without a semi-colon 7 B
000862 html5lib/namedEntities/0455 html5lib-tests Ĺ Named entity: Lacute; with a semi-colon 8 B
000863 html5lib/namedEntities/0456 html5lib-tests &Lambda Bad named entity: Lambda without a semi-colon 7 B
000864 html5lib/namedEntities/0457 html5lib-tests Λ Named entity: Lambda; with a semi-colon 8 B
000865 html5lib/namedEntities/0458 html5lib-tests &Lang Bad named entity: Lang without a semi-colon 5 B
000866 html5lib/namedEntities/0459 html5lib-tests ⟪ Named entity: Lang; with a semi-colon 6 B
000867 html5lib/namedEntities/0460 html5lib-tests &Laplacetrf Bad named entity: Laplacetrf without a semi-colon 11 B
000868 html5lib/namedEntities/0461 html5lib-tests ℒ Named entity: Laplacetrf; with a semi-colon 12 B
000869 html5lib/namedEntities/0462 html5lib-tests &Larr Bad named entity: Larr without a semi-colon 5 B
000870 html5lib/namedEntities/0463 html5lib-tests ↞ Named entity: Larr; with a semi-colon 6 B
000871 html5lib/namedEntities/0464 html5lib-tests &Lcaron Bad named entity: Lcaron without a semi-colon 7 B
000872 html5lib/namedEntities/0465 html5lib-tests Ľ Named entity: Lcaron; with a semi-colon 8 B
000873 html5lib/namedEntities/0466 html5lib-tests &Lcedil Bad named entity: Lcedil without a semi-colon 7 B
000874 html5lib/namedEntities/0467 html5lib-tests Ļ Named entity: Lcedil; with a semi-colon 8 B
000875 html5lib/namedEntities/0468 html5lib-tests &Lcy Bad named entity: Lcy without a semi-colon 4 B
000876 html5lib/namedEntities/0469 html5lib-tests Л Named entity: Lcy; with a semi-colon 5 B
000877 html5lib/namedEntities/0470 html5lib-tests &LeftAngleBracket Bad named entity: LeftAngleBracket without a semi-colon 17 B
000878 html5lib/namedEntities/0471 html5lib-tests ⟨ Named entity: LeftAngleBracket; with a semi-colon 18 B
000879 html5lib/namedEntities/0472 html5lib-tests &LeftArrow Bad named entity: LeftArrow without a semi-colon 10 B
000880 html5lib/namedEntities/0473 html5lib-tests ← Named entity: LeftArrow; with a semi-colon 11 B
000881 html5lib/namedEntities/0474 html5lib-tests &LeftArrowBar Bad named entity: LeftArrowBar without a semi-colon 13 B
000882 html5lib/namedEntities/0475 html5lib-tests ⇤ Named entity: LeftArrowBar; with a semi-colon 14 B
000883 html5lib/namedEntities/0476 html5lib-tests &LeftArrowRightArrow Bad named entity: LeftArrowRightArrow without a semi-colon 20 B
000884 html5lib/namedEntities/0477 html5lib-tests ⇆ Named entity: LeftArrowRightArrow; with a semi-colon 21 B
000885 html5lib/namedEntities/0478 html5lib-tests &LeftCeiling Bad named entity: LeftCeiling without a semi-colon 12 B
000886 html5lib/namedEntities/0479 html5lib-tests ⌈ Named entity: LeftCeiling; with a semi-colon 13 B
000887 html5lib/namedEntities/0480 html5lib-tests &LeftDoubleBracket Bad named entity: LeftDoubleBracket without a semi-colon 18 B
000888 html5lib/namedEntities/0481 html5lib-tests ⟦ Named entity: LeftDoubleBracket; with a semi-colon 19 B
000889 html5lib/namedEntities/0482 html5lib-tests &LeftDownTeeVector Bad named entity: LeftDownTeeVector without a semi-colon 18 B
000890 html5lib/namedEntities/0483 html5lib-tests ⥡ Named entity: LeftDownTeeVector; with a semi-colon 19 B
000891 html5lib/namedEntities/0484 html5lib-tests &LeftDownVector Bad named entity: LeftDownVector without a semi-colon 15 B
000892 html5lib/namedEntities/0485 html5lib-tests ⇃ Named entity: LeftDownVector; with a semi-colon 16 B
000893 html5lib/namedEntities/0486 html5lib-tests &LeftDownVectorBar Bad named entity: LeftDownVectorBar without a semi-colon 18 B
000894 html5lib/namedEntities/0487 html5lib-tests ⥙ Named entity: LeftDownVectorBar; with a semi-colon 19 B
000895 html5lib/namedEntities/0488 html5lib-tests &LeftFloor Bad named entity: LeftFloor without a semi-colon 10 B
000896 html5lib/namedEntities/0489 html5lib-tests ⌊ Named entity: LeftFloor; with a semi-colon 11 B
000897 html5lib/namedEntities/0490 html5lib-tests &LeftRightArrow Bad named entity: LeftRightArrow without a semi-colon 15 B
000898 html5lib/namedEntities/0491 html5lib-tests ↔ Named entity: LeftRightArrow; with a semi-colon 16 B
000899 html5lib/namedEntities/0492 html5lib-tests &LeftRightVector Bad named entity: LeftRightVector without a semi-colon 16 B
000900 html5lib/namedEntities/0493 html5lib-tests ⥎ Named entity: LeftRightVector; with a semi-colon 17 B
000901 html5lib/namedEntities/0494 html5lib-tests &LeftTee Bad named entity: LeftTee without a semi-colon 8 B
000902 html5lib/namedEntities/0495 html5lib-tests ⊣ Named entity: LeftTee; with a semi-colon 9 B
000903 html5lib/namedEntities/0496 html5lib-tests &LeftTeeArrow Bad named entity: LeftTeeArrow without a semi-colon 13 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.