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
004350 html5lib/namedEntities/3943 html5lib-tests ↿ Named entity: uharl; with a semi-colon 7 B
004351 html5lib/namedEntities/3944 html5lib-tests &uharr Bad named entity: uharr without a semi-colon 6 B
004352 html5lib/namedEntities/3945 html5lib-tests ↾ Named entity: uharr; with a semi-colon 7 B
004353 html5lib/namedEntities/3946 html5lib-tests &uhblk Bad named entity: uhblk without a semi-colon 6 B
004354 html5lib/namedEntities/3947 html5lib-tests ▀ Named entity: uhblk; with a semi-colon 7 B
004355 html5lib/namedEntities/3948 html5lib-tests &ulcorn Bad named entity: ulcorn without a semi-colon 7 B
004356 html5lib/namedEntities/3949 html5lib-tests ⌜ Named entity: ulcorn; with a semi-colon 8 B
004357 html5lib/namedEntities/3950 html5lib-tests &ulcorner Bad named entity: ulcorner without a semi-colon 9 B
004358 html5lib/namedEntities/3951 html5lib-tests ⌜ Named entity: ulcorner; with a semi-colon 10 B
004359 html5lib/namedEntities/3952 html5lib-tests &ulcrop Bad named entity: ulcrop without a semi-colon 7 B
004360 html5lib/namedEntities/3953 html5lib-tests ⌏ Named entity: ulcrop; with a semi-colon 8 B
004361 html5lib/namedEntities/3954 html5lib-tests &ultri Bad named entity: ultri without a semi-colon 6 B
004362 html5lib/namedEntities/3955 html5lib-tests ◸ Named entity: ultri; with a semi-colon 7 B
004363 html5lib/namedEntities/3956 html5lib-tests &umacr Bad named entity: umacr without a semi-colon 6 B
004364 html5lib/namedEntities/3957 html5lib-tests ū Named entity: umacr; with a semi-colon 7 B
004365 html5lib/namedEntities/3958 html5lib-tests ¨ Named entity: uml without a semi-colon 4 B
004366 html5lib/namedEntities/3959 html5lib-tests ¨ Named entity: uml; with a semi-colon 5 B
004367 html5lib/namedEntities/3960 html5lib-tests &uogon Bad named entity: uogon without a semi-colon 6 B
004368 html5lib/namedEntities/3961 html5lib-tests ų Named entity: uogon; with a semi-colon 7 B
004369 html5lib/namedEntities/3962 html5lib-tests &uopf Bad named entity: uopf without a semi-colon 5 B
004370 html5lib/namedEntities/3963 html5lib-tests 𝕦 Named entity: uopf; with a semi-colon 6 B
004371 html5lib/namedEntities/3964 html5lib-tests &uparrow Bad named entity: uparrow without a semi-colon 8 B
004372 html5lib/namedEntities/3965 html5lib-tests ↑ Named entity: uparrow; with a semi-colon 9 B
004373 html5lib/namedEntities/3966 html5lib-tests &updownarrow Bad named entity: updownarrow without a semi-colon 12 B
004374 html5lib/namedEntities/3967 html5lib-tests ↕ Named entity: updownarrow; with a semi-colon 13 B
004375 html5lib/namedEntities/3968 html5lib-tests &upharpoonleft Bad named entity: upharpoonleft without a semi-colon 14 B
004376 html5lib/namedEntities/3969 html5lib-tests ↿ Named entity: upharpoonleft; with a semi-colon 15 B
004377 html5lib/namedEntities/3970 html5lib-tests &upharpoonright Bad named entity: upharpoonright without a semi-colon 15 B
004378 html5lib/namedEntities/3971 html5lib-tests ↾ Named entity: upharpoonright; with a semi-colon 16 B
004379 html5lib/namedEntities/3972 html5lib-tests &uplus Bad named entity: uplus without a semi-colon 6 B
004380 html5lib/namedEntities/3973 html5lib-tests ⊎ Named entity: uplus; with a semi-colon 7 B
004381 html5lib/namedEntities/3974 html5lib-tests &upsi Bad named entity: upsi without a semi-colon 5 B
004382 html5lib/namedEntities/3975 html5lib-tests υ Named entity: upsi; with a semi-colon 6 B
004383 html5lib/namedEntities/3976 html5lib-tests &upsih Bad named entity: upsih without a semi-colon 6 B
004384 html5lib/namedEntities/3977 html5lib-tests ϒ Named entity: upsih; with a semi-colon 7 B
004385 html5lib/namedEntities/3978 html5lib-tests &upsilon Bad named entity: upsilon without a semi-colon 8 B
004386 html5lib/namedEntities/3979 html5lib-tests υ Named entity: upsilon; with a semi-colon 9 B
004387 html5lib/namedEntities/3980 html5lib-tests &upuparrows Bad named entity: upuparrows without a semi-colon 11 B
004388 html5lib/namedEntities/3981 html5lib-tests ⇈ Named entity: upuparrows; with a semi-colon 12 B
004389 html5lib/namedEntities/3982 html5lib-tests &urcorn Bad named entity: urcorn without a semi-colon 7 B
004390 html5lib/namedEntities/3983 html5lib-tests ⌝ Named entity: urcorn; with a semi-colon 8 B
004391 html5lib/namedEntities/3984 html5lib-tests &urcorner Bad named entity: urcorner without a semi-colon 9 B
004392 html5lib/namedEntities/3985 html5lib-tests ⌝ Named entity: urcorner; with a semi-colon 10 B
004393 html5lib/namedEntities/3986 html5lib-tests &urcrop Bad named entity: urcrop without a semi-colon 7 B
004394 html5lib/namedEntities/3987 html5lib-tests ⌎ Named entity: urcrop; with a semi-colon 8 B
004395 html5lib/namedEntities/3988 html5lib-tests &uring Bad named entity: uring without a semi-colon 6 B
004396 html5lib/namedEntities/3989 html5lib-tests ů Named entity: uring; with a semi-colon 7 B
004397 html5lib/namedEntities/3990 html5lib-tests &urtri Bad named entity: urtri without a semi-colon 6 B
004398 html5lib/namedEntities/3991 html5lib-tests ◹ Named entity: urtri; with a semi-colon 7 B
004399 html5lib/namedEntities/3992 html5lib-tests &uscr Bad named entity: uscr 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.