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
002504 html5lib/namedEntities/2097 html5lib-tests &gesles Bad named entity: gesles without a semi-colon 7 B
002505 html5lib/namedEntities/2098 html5lib-tests ⪔ Named entity: gesles; with a semi-colon 8 B
002506 html5lib/namedEntities/2099 html5lib-tests &gfr Bad named entity: gfr without a semi-colon 4 B
002507 html5lib/namedEntities/2100 html5lib-tests 𝔤 Named entity: gfr; with a semi-colon 5 B
002508 html5lib/namedEntities/2101 html5lib-tests &gg Bad named entity: gg without a semi-colon 3 B
002509 html5lib/namedEntities/2102 html5lib-tests ≫ Named entity: gg; with a semi-colon 4 B
002510 html5lib/namedEntities/2103 html5lib-tests &ggg Bad named entity: ggg without a semi-colon 4 B
002511 html5lib/namedEntities/2104 html5lib-tests ⋙ Named entity: ggg; with a semi-colon 5 B
002512 html5lib/namedEntities/2105 html5lib-tests &gimel Bad named entity: gimel without a semi-colon 6 B
002513 html5lib/namedEntities/2106 html5lib-tests ℷ Named entity: gimel; with a semi-colon 7 B
002514 html5lib/namedEntities/2107 html5lib-tests &gjcy Bad named entity: gjcy without a semi-colon 5 B
002515 html5lib/namedEntities/2108 html5lib-tests ѓ Named entity: gjcy; with a semi-colon 6 B
002516 html5lib/namedEntities/2109 html5lib-tests &gl Bad named entity: gl without a semi-colon 3 B
002517 html5lib/namedEntities/2110 html5lib-tests ≷ Named entity: gl; with a semi-colon 4 B
002518 html5lib/namedEntities/2111 html5lib-tests &glE Bad named entity: glE without a semi-colon 4 B
002519 html5lib/namedEntities/2112 html5lib-tests ⪒ Named entity: glE; with a semi-colon 5 B
002520 html5lib/namedEntities/2113 html5lib-tests &gla Bad named entity: gla without a semi-colon 4 B
002521 html5lib/namedEntities/2114 html5lib-tests ⪥ Named entity: gla; with a semi-colon 5 B
002522 html5lib/namedEntities/2115 html5lib-tests &glj Bad named entity: glj without a semi-colon 4 B
002523 html5lib/namedEntities/2116 html5lib-tests ⪤ Named entity: glj; with a semi-colon 5 B
002524 html5lib/namedEntities/2117 html5lib-tests &gnE Bad named entity: gnE without a semi-colon 4 B
002525 html5lib/namedEntities/2118 html5lib-tests ≩ Named entity: gnE; with a semi-colon 5 B
002526 html5lib/namedEntities/2119 html5lib-tests &gnap Bad named entity: gnap without a semi-colon 5 B
002527 html5lib/namedEntities/2120 html5lib-tests ⪊ Named entity: gnap; with a semi-colon 6 B
002528 html5lib/namedEntities/2121 html5lib-tests &gnapprox Bad named entity: gnapprox without a semi-colon 9 B
002529 html5lib/namedEntities/2122 html5lib-tests ⪊ Named entity: gnapprox; with a semi-colon 10 B
002530 html5lib/namedEntities/2123 html5lib-tests &gne Bad named entity: gne without a semi-colon 4 B
002531 html5lib/namedEntities/2124 html5lib-tests ⪈ Named entity: gne; with a semi-colon 5 B
002532 html5lib/namedEntities/2125 html5lib-tests &gneq Bad named entity: gneq without a semi-colon 5 B
002533 html5lib/namedEntities/2126 html5lib-tests ⪈ Named entity: gneq; with a semi-colon 6 B
002534 html5lib/namedEntities/2127 html5lib-tests &gneqq Bad named entity: gneqq without a semi-colon 6 B
002535 html5lib/namedEntities/2128 html5lib-tests ≩ Named entity: gneqq; with a semi-colon 7 B
002536 html5lib/namedEntities/2129 html5lib-tests &gnsim Bad named entity: gnsim without a semi-colon 6 B
002537 html5lib/namedEntities/2130 html5lib-tests ⋧ Named entity: gnsim; with a semi-colon 7 B
002538 html5lib/namedEntities/2131 html5lib-tests &gopf Bad named entity: gopf without a semi-colon 5 B
002539 html5lib/namedEntities/2132 html5lib-tests 𝕘 Named entity: gopf; with a semi-colon 6 B
002540 html5lib/namedEntities/2133 html5lib-tests &grave Bad named entity: grave without a semi-colon 6 B
002541 html5lib/namedEntities/2134 html5lib-tests ` Named entity: grave; with a semi-colon 7 B
002542 html5lib/namedEntities/2135 html5lib-tests &gscr Bad named entity: gscr without a semi-colon 5 B
002543 html5lib/namedEntities/2136 html5lib-tests ℊ Named entity: gscr; with a semi-colon 6 B
002544 html5lib/namedEntities/2137 html5lib-tests &gsim Bad named entity: gsim without a semi-colon 5 B
002545 html5lib/namedEntities/2138 html5lib-tests ≳ Named entity: gsim; with a semi-colon 6 B
002546 html5lib/namedEntities/2139 html5lib-tests &gsime Bad named entity: gsime without a semi-colon 6 B
002547 html5lib/namedEntities/2140 html5lib-tests ⪎ Named entity: gsime; with a semi-colon 7 B
002548 html5lib/namedEntities/2141 html5lib-tests &gsiml Bad named entity: gsiml without a semi-colon 6 B
002549 html5lib/namedEntities/2142 html5lib-tests ⪐ Named entity: gsiml; with a semi-colon 7 B
002550 html5lib/namedEntities/2143 html5lib-tests > Named entity: gt without a semi-colon 3 B
002551 html5lib/namedEntities/2144 html5lib-tests > Named entity: gt; with a semi-colon 4 B
002552 html5lib/namedEntities/2145 html5lib-tests ⪧ Named entity: gtcc; with a semi-colon 6 B
002553 html5lib/namedEntities/2146 html5lib-tests ⩺ Named entity: gtcir; with a semi-colon 7 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.