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

All 6,835 cases

Case Name Expected Note Size
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
000504 html5lib/namedEntities/0097 html5lib-tests ⊕ Named entity: CirclePlus; with a semi-colon 12 B
000505 html5lib/namedEntities/0098 html5lib-tests &CircleTimes Bad named entity: CircleTimes without a semi-colon 12 B
000506 html5lib/namedEntities/0099 html5lib-tests ⊗ Named entity: CircleTimes; with a semi-colon 13 B
000507 html5lib/namedEntities/0100 html5lib-tests &ClockwiseContourIntegral Bad named entity: ClockwiseContourIntegral without a semi-colon 25 B
000508 html5lib/namedEntities/0101 html5lib-tests ∲ Named entity: ClockwiseContourIntegral; with a semi-colon 26 B
000509 html5lib/namedEntities/0102 html5lib-tests &CloseCurlyDoubleQuote Bad named entity: CloseCurlyDoubleQuote without a semi-colon 22 B
000510 html5lib/namedEntities/0103 html5lib-tests ” Named entity: CloseCurlyDoubleQuote; with a semi-colon 23 B
000511 html5lib/namedEntities/0104 html5lib-tests &CloseCurlyQuote Bad named entity: CloseCurlyQuote without a semi-colon 16 B
000512 html5lib/namedEntities/0105 html5lib-tests ’ Named entity: CloseCurlyQuote; with a semi-colon 17 B
000513 html5lib/namedEntities/0106 html5lib-tests &Colon Bad named entity: Colon without a semi-colon 6 B
000514 html5lib/namedEntities/0107 html5lib-tests ∷ Named entity: Colon; with a semi-colon 7 B
000515 html5lib/namedEntities/0108 html5lib-tests &Colone Bad named entity: Colone without a semi-colon 7 B
000516 html5lib/namedEntities/0109 html5lib-tests ⩴ Named entity: Colone; with a semi-colon 8 B
000517 html5lib/namedEntities/0110 html5lib-tests &Congruent Bad named entity: Congruent without a semi-colon 10 B
000518 html5lib/namedEntities/0111 html5lib-tests ≡ Named entity: Congruent; with a semi-colon 11 B
000519 html5lib/namedEntities/0112 html5lib-tests &Conint Bad named entity: Conint without a semi-colon 7 B
000520 html5lib/namedEntities/0113 html5lib-tests ∯ Named entity: Conint; with a semi-colon 8 B
000521 html5lib/namedEntities/0114 html5lib-tests &ContourIntegral Bad named entity: ContourIntegral without a semi-colon 16 B
000522 html5lib/namedEntities/0115 html5lib-tests ∮ Named entity: ContourIntegral; with a semi-colon 17 B
000523 html5lib/namedEntities/0116 html5lib-tests &Copf Bad named entity: Copf without a semi-colon 5 B
000524 html5lib/namedEntities/0117 html5lib-tests ℂ Named entity: Copf; with a semi-colon 6 B
000525 html5lib/namedEntities/0118 html5lib-tests &Coproduct Bad named entity: Coproduct without a semi-colon 10 B
000526 html5lib/namedEntities/0119 html5lib-tests ∐ Named entity: Coproduct; with a semi-colon 11 B
000527 html5lib/namedEntities/0120 html5lib-tests &CounterClockwiseContourIntegral Bad named entity: CounterClockwiseContourIntegral without a semi-colon 32 B
000528 html5lib/namedEntities/0121 html5lib-tests ∳ Named entity: CounterClockwiseContourIntegral; with a semi-colon 33 B
000529 html5lib/namedEntities/0122 html5lib-tests &Cross Bad named entity: Cross without a semi-colon 6 B
000530 html5lib/namedEntities/0123 html5lib-tests ⨯ Named entity: Cross; with a semi-colon 7 B
000531 html5lib/namedEntities/0124 html5lib-tests &Cscr Bad named entity: Cscr without a semi-colon 5 B
000532 html5lib/namedEntities/0125 html5lib-tests 𝒞 Named entity: Cscr; with a semi-colon 6 B
000533 html5lib/namedEntities/0126 html5lib-tests &Cup Bad named entity: Cup without a semi-colon 4 B
000534 html5lib/namedEntities/0127 html5lib-tests ⋓ Named entity: Cup; with a semi-colon 5 B
000535 html5lib/namedEntities/0128 html5lib-tests &CupCap Bad named entity: CupCap without a semi-colon 7 B
000536 html5lib/namedEntities/0129 html5lib-tests ≍ Named entity: CupCap; with a semi-colon 8 B
000537 html5lib/namedEntities/0130 html5lib-tests &DD Bad named entity: DD without a semi-colon 3 B
000538 html5lib/namedEntities/0131 html5lib-tests ⅅ Named entity: DD; with a semi-colon 4 B
000539 html5lib/namedEntities/0132 html5lib-tests &DDotrahd Bad named entity: DDotrahd without a semi-colon 9 B
000540 html5lib/namedEntities/0133 html5lib-tests ⤑ Named entity: DDotrahd; with a semi-colon 10 B
000541 html5lib/namedEntities/0134 html5lib-tests &DJcy Bad named entity: DJcy without a semi-colon 5 B
000542 html5lib/namedEntities/0135 html5lib-tests Ђ Named entity: DJcy; with a semi-colon 6 B
000543 html5lib/namedEntities/0136 html5lib-tests &DScy Bad named entity: DScy without a semi-colon 5 B
000544 html5lib/namedEntities/0137 html5lib-tests Ѕ Named entity: DScy; with a semi-colon 6 B
000545 html5lib/namedEntities/0138 html5lib-tests &DZcy Bad named entity: DZcy without a semi-colon 5 B
000546 html5lib/namedEntities/0139 html5lib-tests Џ Named entity: DZcy; with a semi-colon 6 B
000547 html5lib/namedEntities/0140 html5lib-tests &Dagger Bad named entity: Dagger without a semi-colon 7 B
000548 html5lib/namedEntities/0141 html5lib-tests ‡ Named entity: Dagger; with a semi-colon 8 B
000549 html5lib/namedEntities/0142 html5lib-tests &Darr Bad named entity: Darr without a semi-colon 5 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.