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
003304 html5lib/namedEntities/2897 html5lib-tests ⫽⃥ Named entity: nparsl; with a semi-colon 8 B
003305 html5lib/namedEntities/2898 html5lib-tests &npart Bad named entity: npart without a semi-colon 6 B
003306 html5lib/namedEntities/2899 html5lib-tests ∂̸ Named entity: npart; with a semi-colon 7 B
003307 html5lib/namedEntities/2900 html5lib-tests &npolint Bad named entity: npolint without a semi-colon 8 B
003308 html5lib/namedEntities/2901 html5lib-tests ⨔ Named entity: npolint; with a semi-colon 9 B
003309 html5lib/namedEntities/2902 html5lib-tests &npr Bad named entity: npr without a semi-colon 4 B
003310 html5lib/namedEntities/2903 html5lib-tests ⊀ Named entity: npr; with a semi-colon 5 B
003311 html5lib/namedEntities/2904 html5lib-tests &nprcue Bad named entity: nprcue without a semi-colon 7 B
003312 html5lib/namedEntities/2905 html5lib-tests ⋠ Named entity: nprcue; with a semi-colon 8 B
003313 html5lib/namedEntities/2906 html5lib-tests &npre Bad named entity: npre without a semi-colon 5 B
003314 html5lib/namedEntities/2907 html5lib-tests ⪯̸ Named entity: npre; with a semi-colon 6 B
003315 html5lib/namedEntities/2908 html5lib-tests &nprec Bad named entity: nprec without a semi-colon 6 B
003316 html5lib/namedEntities/2909 html5lib-tests ⊀ Named entity: nprec; with a semi-colon 7 B
003317 html5lib/namedEntities/2910 html5lib-tests &npreceq Bad named entity: npreceq without a semi-colon 8 B
003318 html5lib/namedEntities/2911 html5lib-tests ⪯̸ Named entity: npreceq; with a semi-colon 9 B
003319 html5lib/namedEntities/2912 html5lib-tests &nrArr Bad named entity: nrArr without a semi-colon 6 B
003320 html5lib/namedEntities/2913 html5lib-tests ⇏ Named entity: nrArr; with a semi-colon 7 B
003321 html5lib/namedEntities/2914 html5lib-tests &nrarr Bad named entity: nrarr without a semi-colon 6 B
003322 html5lib/namedEntities/2915 html5lib-tests ↛ Named entity: nrarr; with a semi-colon 7 B
003323 html5lib/namedEntities/2916 html5lib-tests &nrarrc Bad named entity: nrarrc without a semi-colon 7 B
003324 html5lib/namedEntities/2917 html5lib-tests ⤳̸ Named entity: nrarrc; with a semi-colon 8 B
003325 html5lib/namedEntities/2918 html5lib-tests &nrarrw Bad named entity: nrarrw without a semi-colon 7 B
003326 html5lib/namedEntities/2919 html5lib-tests ↝̸ Named entity: nrarrw; with a semi-colon 8 B
003327 html5lib/namedEntities/2920 html5lib-tests &nrightarrow Bad named entity: nrightarrow without a semi-colon 12 B
003328 html5lib/namedEntities/2921 html5lib-tests ↛ Named entity: nrightarrow; with a semi-colon 13 B
003329 html5lib/namedEntities/2922 html5lib-tests &nrtri Bad named entity: nrtri without a semi-colon 6 B
003330 html5lib/namedEntities/2923 html5lib-tests ⋫ Named entity: nrtri; with a semi-colon 7 B
003331 html5lib/namedEntities/2924 html5lib-tests &nrtrie Bad named entity: nrtrie without a semi-colon 7 B
003332 html5lib/namedEntities/2925 html5lib-tests ⋭ Named entity: nrtrie; with a semi-colon 8 B
003333 html5lib/namedEntities/2926 html5lib-tests &nsc Bad named entity: nsc without a semi-colon 4 B
003334 html5lib/namedEntities/2927 html5lib-tests ⊁ Named entity: nsc; with a semi-colon 5 B
003335 html5lib/namedEntities/2928 html5lib-tests &nsccue Bad named entity: nsccue without a semi-colon 7 B
003336 html5lib/namedEntities/2929 html5lib-tests ⋡ Named entity: nsccue; with a semi-colon 8 B
003337 html5lib/namedEntities/2930 html5lib-tests &nsce Bad named entity: nsce without a semi-colon 5 B
003338 html5lib/namedEntities/2931 html5lib-tests ⪰̸ Named entity: nsce; with a semi-colon 6 B
003339 html5lib/namedEntities/2932 html5lib-tests &nscr Bad named entity: nscr without a semi-colon 5 B
003340 html5lib/namedEntities/2933 html5lib-tests 𝓃 Named entity: nscr; with a semi-colon 6 B
003341 html5lib/namedEntities/2934 html5lib-tests &nshortmid Bad named entity: nshortmid without a semi-colon 10 B
003342 html5lib/namedEntities/2935 html5lib-tests ∤ Named entity: nshortmid; with a semi-colon 11 B
003343 html5lib/namedEntities/2936 html5lib-tests &nshortparallel Bad named entity: nshortparallel without a semi-colon 15 B
003344 html5lib/namedEntities/2937 html5lib-tests ∦ Named entity: nshortparallel; with a semi-colon 16 B
003345 html5lib/namedEntities/2938 html5lib-tests &nsim Bad named entity: nsim without a semi-colon 5 B
003346 html5lib/namedEntities/2939 html5lib-tests ≁ Named entity: nsim; with a semi-colon 6 B
003347 html5lib/namedEntities/2940 html5lib-tests &nsime Bad named entity: nsime without a semi-colon 6 B
003348 html5lib/namedEntities/2941 html5lib-tests ≄ Named entity: nsime; with a semi-colon 7 B
003349 html5lib/namedEntities/2942 html5lib-tests &nsimeq Bad named entity: nsimeq without a semi-colon 7 B
003350 html5lib/namedEntities/2943 html5lib-tests ≄ Named entity: nsimeq; with a semi-colon 8 B
003351 html5lib/namedEntities/2944 html5lib-tests &nsmid Bad named entity: nsmid without a semi-colon 6 B
003352 html5lib/namedEntities/2945 html5lib-tests ∤ Named entity: nsmid; with a semi-colon 7 B
003353 html5lib/namedEntities/2946 html5lib-tests &nspar Bad named entity: nspar without a semi-colon 6 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.