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
003200 html5lib/namedEntities/2793 html5lib-tests ↗ Named entity: nearr; with a semi-colon 7 B
003201 html5lib/namedEntities/2794 html5lib-tests &nearrow Bad named entity: nearrow without a semi-colon 8 B
003202 html5lib/namedEntities/2795 html5lib-tests ↗ Named entity: nearrow; with a semi-colon 9 B
003203 html5lib/namedEntities/2796 html5lib-tests &nedot Bad named entity: nedot without a semi-colon 6 B
003204 html5lib/namedEntities/2797 html5lib-tests ≐̸ Named entity: nedot; with a semi-colon 7 B
003205 html5lib/namedEntities/2798 html5lib-tests &nequiv Bad named entity: nequiv without a semi-colon 7 B
003206 html5lib/namedEntities/2799 html5lib-tests ≢ Named entity: nequiv; with a semi-colon 8 B
003207 html5lib/namedEntities/2800 html5lib-tests &nesear Bad named entity: nesear without a semi-colon 7 B
003208 html5lib/namedEntities/2801 html5lib-tests ⤨ Named entity: nesear; with a semi-colon 8 B
003209 html5lib/namedEntities/2802 html5lib-tests &nesim Bad named entity: nesim without a semi-colon 6 B
003210 html5lib/namedEntities/2803 html5lib-tests ≂̸ Named entity: nesim; with a semi-colon 7 B
003211 html5lib/namedEntities/2804 html5lib-tests &nexist Bad named entity: nexist without a semi-colon 7 B
003212 html5lib/namedEntities/2805 html5lib-tests ∄ Named entity: nexist; with a semi-colon 8 B
003213 html5lib/namedEntities/2806 html5lib-tests &nexists Bad named entity: nexists without a semi-colon 8 B
003214 html5lib/namedEntities/2807 html5lib-tests ∄ Named entity: nexists; with a semi-colon 9 B
003215 html5lib/namedEntities/2808 html5lib-tests &nfr Bad named entity: nfr without a semi-colon 4 B
003216 html5lib/namedEntities/2809 html5lib-tests 𝔫 Named entity: nfr; with a semi-colon 5 B
003217 html5lib/namedEntities/2810 html5lib-tests &ngE Bad named entity: ngE without a semi-colon 4 B
003218 html5lib/namedEntities/2811 html5lib-tests ≧̸ Named entity: ngE; with a semi-colon 5 B
003219 html5lib/namedEntities/2812 html5lib-tests &nge Bad named entity: nge without a semi-colon 4 B
003220 html5lib/namedEntities/2813 html5lib-tests ≱ Named entity: nge; with a semi-colon 5 B
003221 html5lib/namedEntities/2814 html5lib-tests &ngeq Bad named entity: ngeq without a semi-colon 5 B
003222 html5lib/namedEntities/2815 html5lib-tests ≱ Named entity: ngeq; with a semi-colon 6 B
003223 html5lib/namedEntities/2816 html5lib-tests &ngeqq Bad named entity: ngeqq without a semi-colon 6 B
003224 html5lib/namedEntities/2817 html5lib-tests ≧̸ Named entity: ngeqq; with a semi-colon 7 B
003225 html5lib/namedEntities/2818 html5lib-tests &ngeqslant Bad named entity: ngeqslant without a semi-colon 10 B
003226 html5lib/namedEntities/2819 html5lib-tests ⩾̸ Named entity: ngeqslant; with a semi-colon 11 B
003227 html5lib/namedEntities/2820 html5lib-tests &nges Bad named entity: nges without a semi-colon 5 B
003228 html5lib/namedEntities/2821 html5lib-tests ⩾̸ Named entity: nges; with a semi-colon 6 B
003229 html5lib/namedEntities/2822 html5lib-tests &ngsim Bad named entity: ngsim without a semi-colon 6 B
003230 html5lib/namedEntities/2823 html5lib-tests ≵ Named entity: ngsim; with a semi-colon 7 B
003231 html5lib/namedEntities/2824 html5lib-tests &ngt Bad named entity: ngt without a semi-colon 4 B
003232 html5lib/namedEntities/2825 html5lib-tests ≯ Named entity: ngt; with a semi-colon 5 B
003233 html5lib/namedEntities/2826 html5lib-tests &ngtr Bad named entity: ngtr without a semi-colon 5 B
003234 html5lib/namedEntities/2827 html5lib-tests ≯ Named entity: ngtr; with a semi-colon 6 B
003235 html5lib/namedEntities/2828 html5lib-tests &nhArr Bad named entity: nhArr without a semi-colon 6 B
003236 html5lib/namedEntities/2829 html5lib-tests ⇎ Named entity: nhArr; with a semi-colon 7 B
003237 html5lib/namedEntities/2830 html5lib-tests &nharr Bad named entity: nharr without a semi-colon 6 B
003238 html5lib/namedEntities/2831 html5lib-tests ↮ Named entity: nharr; with a semi-colon 7 B
003239 html5lib/namedEntities/2832 html5lib-tests &nhpar Bad named entity: nhpar without a semi-colon 6 B
003240 html5lib/namedEntities/2833 html5lib-tests ⫲ Named entity: nhpar; with a semi-colon 7 B
003241 html5lib/namedEntities/2834 html5lib-tests &ni Bad named entity: ni without a semi-colon 3 B
003242 html5lib/namedEntities/2835 html5lib-tests ∋ Named entity: ni; with a semi-colon 4 B
003243 html5lib/namedEntities/2836 html5lib-tests &nis Bad named entity: nis without a semi-colon 4 B
003244 html5lib/namedEntities/2837 html5lib-tests ⋼ Named entity: nis; with a semi-colon 5 B
003245 html5lib/namedEntities/2838 html5lib-tests &nisd Bad named entity: nisd without a semi-colon 5 B
003246 html5lib/namedEntities/2839 html5lib-tests ⋺ Named entity: nisd; with a semi-colon 6 B
003247 html5lib/namedEntities/2840 html5lib-tests &niv Bad named entity: niv without a semi-colon 4 B
003248 html5lib/namedEntities/2841 html5lib-tests ∋ Named entity: niv; with a semi-colon 5 B
003249 html5lib/namedEntities/2842 html5lib-tests &njcy Bad named entity: njcy 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.