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
000454 html5lib/namedEntities/0047 html5lib-tests ∵ Named entity: Because; with a semi-colon 9 B
000455 html5lib/namedEntities/0048 html5lib-tests &Bernoullis Bad named entity: Bernoullis without a semi-colon 11 B
000456 html5lib/namedEntities/0049 html5lib-tests ℬ Named entity: Bernoullis; with a semi-colon 12 B
000457 html5lib/namedEntities/0050 html5lib-tests &Beta Bad named entity: Beta without a semi-colon 5 B
000458 html5lib/namedEntities/0051 html5lib-tests Β Named entity: Beta; with a semi-colon 6 B
000459 html5lib/namedEntities/0052 html5lib-tests &Bfr Bad named entity: Bfr without a semi-colon 4 B
000460 html5lib/namedEntities/0053 html5lib-tests 𝔅 Named entity: Bfr; with a semi-colon 5 B
000461 html5lib/namedEntities/0054 html5lib-tests &Bopf Bad named entity: Bopf without a semi-colon 5 B
000462 html5lib/namedEntities/0055 html5lib-tests 𝔹 Named entity: Bopf; with a semi-colon 6 B
000463 html5lib/namedEntities/0056 html5lib-tests &Breve Bad named entity: Breve without a semi-colon 6 B
000464 html5lib/namedEntities/0057 html5lib-tests ˘ Named entity: Breve; with a semi-colon 7 B
000465 html5lib/namedEntities/0058 html5lib-tests &Bscr Bad named entity: Bscr without a semi-colon 5 B
000466 html5lib/namedEntities/0059 html5lib-tests ℬ Named entity: Bscr; with a semi-colon 6 B
000467 html5lib/namedEntities/0060 html5lib-tests &Bumpeq Bad named entity: Bumpeq without a semi-colon 7 B
000468 html5lib/namedEntities/0061 html5lib-tests ≎ Named entity: Bumpeq; with a semi-colon 8 B
000469 html5lib/namedEntities/0062 html5lib-tests &CHcy Bad named entity: CHcy without a semi-colon 5 B
000470 html5lib/namedEntities/0063 html5lib-tests Ч Named entity: CHcy; with a semi-colon 6 B
000471 html5lib/namedEntities/0064 html5lib-tests © Named entity: COPY without a semi-colon 5 B
000472 html5lib/namedEntities/0065 html5lib-tests © Named entity: COPY; with a semi-colon 6 B
000473 html5lib/namedEntities/0066 html5lib-tests &Cacute Bad named entity: Cacute without a semi-colon 7 B
000474 html5lib/namedEntities/0067 html5lib-tests Ć Named entity: Cacute; with a semi-colon 8 B
000475 html5lib/namedEntities/0068 html5lib-tests &Cap Bad named entity: Cap without a semi-colon 4 B
000476 html5lib/namedEntities/0069 html5lib-tests ⋒ Named entity: Cap; with a semi-colon 5 B
000477 html5lib/namedEntities/0070 html5lib-tests &CapitalDifferentialD Bad named entity: CapitalDifferentialD without a semi-colon 21 B
000478 html5lib/namedEntities/0071 html5lib-tests ⅅ Named entity: CapitalDifferentialD; with a semi-colon 22 B
000479 html5lib/namedEntities/0072 html5lib-tests &Cayleys Bad named entity: Cayleys without a semi-colon 8 B
000480 html5lib/namedEntities/0073 html5lib-tests ℭ Named entity: Cayleys; with a semi-colon 9 B
000481 html5lib/namedEntities/0074 html5lib-tests &Ccaron Bad named entity: Ccaron without a semi-colon 7 B
000482 html5lib/namedEntities/0075 html5lib-tests Č Named entity: Ccaron; with a semi-colon 8 B
000483 html5lib/namedEntities/0076 html5lib-tests Ç Named entity: Ccedil without a semi-colon 7 B
000484 html5lib/namedEntities/0077 html5lib-tests Ç Named entity: Ccedil; with a semi-colon 8 B
000485 html5lib/namedEntities/0078 html5lib-tests &Ccirc Bad named entity: Ccirc without a semi-colon 6 B
000486 html5lib/namedEntities/0079 html5lib-tests Ĉ Named entity: Ccirc; with a semi-colon 7 B
000487 html5lib/namedEntities/0080 html5lib-tests &Cconint Bad named entity: Cconint without a semi-colon 8 B
000488 html5lib/namedEntities/0081 html5lib-tests ∰ Named entity: Cconint; with a semi-colon 9 B
000489 html5lib/namedEntities/0082 html5lib-tests &Cdot Bad named entity: Cdot without a semi-colon 5 B
000490 html5lib/namedEntities/0083 html5lib-tests Ċ Named entity: Cdot; with a semi-colon 6 B
000491 html5lib/namedEntities/0084 html5lib-tests &Cedilla Bad named entity: Cedilla without a semi-colon 8 B
000492 html5lib/namedEntities/0085 html5lib-tests ¸ Named entity: Cedilla; with a semi-colon 9 B
000493 html5lib/namedEntities/0086 html5lib-tests &CenterDot Bad named entity: CenterDot without a semi-colon 10 B
000494 html5lib/namedEntities/0087 html5lib-tests · Named entity: CenterDot; with a semi-colon 11 B
000495 html5lib/namedEntities/0088 html5lib-tests &Cfr Bad named entity: Cfr without a semi-colon 4 B
000496 html5lib/namedEntities/0089 html5lib-tests ℭ Named entity: Cfr; with a semi-colon 5 B
000497 html5lib/namedEntities/0090 html5lib-tests &Chi Bad named entity: Chi without a semi-colon 4 B
000498 html5lib/namedEntities/0091 html5lib-tests Χ Named entity: Chi; with a semi-colon 5 B
000499 html5lib/namedEntities/0092 html5lib-tests &CircleDot Bad named entity: CircleDot without a semi-colon 10 B
000500 html5lib/namedEntities/0093 html5lib-tests ⊙ Named entity: CircleDot; with a semi-colon 11 B
000501 html5lib/namedEntities/0094 html5lib-tests &CircleMinus Bad named entity: CircleMinus without a semi-colon 12 B
000502 html5lib/namedEntities/0095 html5lib-tests ⊖ Named entity: CircleMinus; with a semi-colon 13 B
000503 html5lib/namedEntities/0096 html5lib-tests &CirclePlus Bad named entity: CirclePlus without a semi-colon 11 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.