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
002650 html5lib/namedEntities/2243 html5lib-tests &iiota Bad named entity: iiota without a semi-colon 6 B
002651 html5lib/namedEntities/2244 html5lib-tests ℩ Named entity: iiota; with a semi-colon 7 B
002652 html5lib/namedEntities/2245 html5lib-tests &ijlig Bad named entity: ijlig without a semi-colon 6 B
002653 html5lib/namedEntities/2246 html5lib-tests ij Named entity: ijlig; with a semi-colon 7 B
002654 html5lib/namedEntities/2247 html5lib-tests &imacr Bad named entity: imacr without a semi-colon 6 B
002655 html5lib/namedEntities/2248 html5lib-tests ī Named entity: imacr; with a semi-colon 7 B
002656 html5lib/namedEntities/2249 html5lib-tests &image Bad named entity: image without a semi-colon 6 B
002657 html5lib/namedEntities/2250 html5lib-tests ℑ Named entity: image; with a semi-colon 7 B
002658 html5lib/namedEntities/2251 html5lib-tests &imagline Bad named entity: imagline without a semi-colon 9 B
002659 html5lib/namedEntities/2252 html5lib-tests ℐ Named entity: imagline; with a semi-colon 10 B
002660 html5lib/namedEntities/2253 html5lib-tests &imagpart Bad named entity: imagpart without a semi-colon 9 B
002661 html5lib/namedEntities/2254 html5lib-tests ℑ Named entity: imagpart; with a semi-colon 10 B
002662 html5lib/namedEntities/2255 html5lib-tests &imath Bad named entity: imath without a semi-colon 6 B
002663 html5lib/namedEntities/2256 html5lib-tests ı Named entity: imath; with a semi-colon 7 B
002664 html5lib/namedEntities/2257 html5lib-tests &imof Bad named entity: imof without a semi-colon 5 B
002665 html5lib/namedEntities/2258 html5lib-tests ⊷ Named entity: imof; with a semi-colon 6 B
002666 html5lib/namedEntities/2259 html5lib-tests &imped Bad named entity: imped without a semi-colon 6 B
002667 html5lib/namedEntities/2260 html5lib-tests Ƶ Named entity: imped; with a semi-colon 7 B
002668 html5lib/namedEntities/2261 html5lib-tests &in Bad named entity: in without a semi-colon 3 B
002669 html5lib/namedEntities/2262 html5lib-tests ∈ Named entity: in; with a semi-colon 4 B
002670 html5lib/namedEntities/2263 html5lib-tests &incare Bad named entity: incare without a semi-colon 7 B
002671 html5lib/namedEntities/2264 html5lib-tests ℅ Named entity: incare; with a semi-colon 8 B
002672 html5lib/namedEntities/2265 html5lib-tests &infin Bad named entity: infin without a semi-colon 6 B
002673 html5lib/namedEntities/2266 html5lib-tests ∞ Named entity: infin; with a semi-colon 7 B
002674 html5lib/namedEntities/2267 html5lib-tests &infintie Bad named entity: infintie without a semi-colon 9 B
002675 html5lib/namedEntities/2268 html5lib-tests ⧝ Named entity: infintie; with a semi-colon 10 B
002676 html5lib/namedEntities/2269 html5lib-tests &inodot Bad named entity: inodot without a semi-colon 7 B
002677 html5lib/namedEntities/2270 html5lib-tests ı Named entity: inodot; with a semi-colon 8 B
002678 html5lib/namedEntities/2271 html5lib-tests &int Bad named entity: int without a semi-colon 4 B
002679 html5lib/namedEntities/2272 html5lib-tests ∫ Named entity: int; with a semi-colon 5 B
002680 html5lib/namedEntities/2273 html5lib-tests &intcal Bad named entity: intcal without a semi-colon 7 B
002681 html5lib/namedEntities/2274 html5lib-tests ⊺ Named entity: intcal; with a semi-colon 8 B
002682 html5lib/namedEntities/2275 html5lib-tests &integers Bad named entity: integers without a semi-colon 9 B
002683 html5lib/namedEntities/2276 html5lib-tests ℤ Named entity: integers; with a semi-colon 10 B
002684 html5lib/namedEntities/2277 html5lib-tests &intercal Bad named entity: intercal without a semi-colon 9 B
002685 html5lib/namedEntities/2278 html5lib-tests ⊺ Named entity: intercal; with a semi-colon 10 B
002686 html5lib/namedEntities/2279 html5lib-tests &intlarhk Bad named entity: intlarhk without a semi-colon 9 B
002687 html5lib/namedEntities/2280 html5lib-tests ⨗ Named entity: intlarhk; with a semi-colon 10 B
002688 html5lib/namedEntities/2281 html5lib-tests &intprod Bad named entity: intprod without a semi-colon 8 B
002689 html5lib/namedEntities/2282 html5lib-tests ⨼ Named entity: intprod; with a semi-colon 9 B
002690 html5lib/namedEntities/2283 html5lib-tests &iocy Bad named entity: iocy without a semi-colon 5 B
002691 html5lib/namedEntities/2284 html5lib-tests ё Named entity: iocy; with a semi-colon 6 B
002692 html5lib/namedEntities/2285 html5lib-tests &iogon Bad named entity: iogon without a semi-colon 6 B
002693 html5lib/namedEntities/2286 html5lib-tests į Named entity: iogon; with a semi-colon 7 B
002694 html5lib/namedEntities/2287 html5lib-tests &iopf Bad named entity: iopf without a semi-colon 5 B
002695 html5lib/namedEntities/2288 html5lib-tests 𝕚 Named entity: iopf; with a semi-colon 6 B
002696 html5lib/namedEntities/2289 html5lib-tests &iota Bad named entity: iota without a semi-colon 5 B
002697 html5lib/namedEntities/2290 html5lib-tests ι Named entity: iota; with a semi-colon 6 B
002698 html5lib/namedEntities/2291 html5lib-tests &iprod Bad named entity: iprod without a semi-colon 6 B
002699 html5lib/namedEntities/2292 html5lib-tests ⨼ Named entity: iprod; 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.