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
003804 html5lib/namedEntities/3397 html5lib-tests &rect Bad named entity: rect without a semi-colon 5 B
003805 html5lib/namedEntities/3398 html5lib-tests ▭ Named entity: rect; with a semi-colon 6 B
003806 html5lib/namedEntities/3399 html5lib-tests ® Named entity: reg without a semi-colon 4 B
003807 html5lib/namedEntities/3400 html5lib-tests ® Named entity: reg; with a semi-colon 5 B
003808 html5lib/namedEntities/3401 html5lib-tests &rfisht Bad named entity: rfisht without a semi-colon 7 B
003809 html5lib/namedEntities/3402 html5lib-tests ⥽ Named entity: rfisht; with a semi-colon 8 B
003810 html5lib/namedEntities/3403 html5lib-tests &rfloor Bad named entity: rfloor without a semi-colon 7 B
003811 html5lib/namedEntities/3404 html5lib-tests ⌋ Named entity: rfloor; with a semi-colon 8 B
003812 html5lib/namedEntities/3405 html5lib-tests &rfr Bad named entity: rfr without a semi-colon 4 B
003813 html5lib/namedEntities/3406 html5lib-tests 𝔯 Named entity: rfr; with a semi-colon 5 B
003814 html5lib/namedEntities/3407 html5lib-tests &rhard Bad named entity: rhard without a semi-colon 6 B
003815 html5lib/namedEntities/3408 html5lib-tests ⇁ Named entity: rhard; with a semi-colon 7 B
003816 html5lib/namedEntities/3409 html5lib-tests &rharu Bad named entity: rharu without a semi-colon 6 B
003817 html5lib/namedEntities/3410 html5lib-tests ⇀ Named entity: rharu; with a semi-colon 7 B
003818 html5lib/namedEntities/3411 html5lib-tests &rharul Bad named entity: rharul without a semi-colon 7 B
003819 html5lib/namedEntities/3412 html5lib-tests ⥬ Named entity: rharul; with a semi-colon 8 B
003820 html5lib/namedEntities/3413 html5lib-tests &rho Bad named entity: rho without a semi-colon 4 B
003821 html5lib/namedEntities/3414 html5lib-tests ρ Named entity: rho; with a semi-colon 5 B
003822 html5lib/namedEntities/3415 html5lib-tests &rhov Bad named entity: rhov without a semi-colon 5 B
003823 html5lib/namedEntities/3416 html5lib-tests ϱ Named entity: rhov; with a semi-colon 6 B
003824 html5lib/namedEntities/3417 html5lib-tests &rightarrow Bad named entity: rightarrow without a semi-colon 11 B
003825 html5lib/namedEntities/3418 html5lib-tests → Named entity: rightarrow; with a semi-colon 12 B
003826 html5lib/namedEntities/3419 html5lib-tests &rightarrowtail Bad named entity: rightarrowtail without a semi-colon 15 B
003827 html5lib/namedEntities/3420 html5lib-tests ↣ Named entity: rightarrowtail; with a semi-colon 16 B
003828 html5lib/namedEntities/3421 html5lib-tests &rightharpoondown Bad named entity: rightharpoondown without a semi-colon 17 B
003829 html5lib/namedEntities/3422 html5lib-tests ⇁ Named entity: rightharpoondown; with a semi-colon 18 B
003830 html5lib/namedEntities/3423 html5lib-tests &rightharpoonup Bad named entity: rightharpoonup without a semi-colon 15 B
003831 html5lib/namedEntities/3424 html5lib-tests ⇀ Named entity: rightharpoonup; with a semi-colon 16 B
003832 html5lib/namedEntities/3425 html5lib-tests &rightleftarrows Bad named entity: rightleftarrows without a semi-colon 16 B
003833 html5lib/namedEntities/3426 html5lib-tests ⇄ Named entity: rightleftarrows; with a semi-colon 17 B
003834 html5lib/namedEntities/3427 html5lib-tests &rightleftharpoons Bad named entity: rightleftharpoons without a semi-colon 18 B
003835 html5lib/namedEntities/3428 html5lib-tests ⇌ Named entity: rightleftharpoons; with a semi-colon 19 B
003836 html5lib/namedEntities/3429 html5lib-tests &rightrightarrows Bad named entity: rightrightarrows without a semi-colon 17 B
003837 html5lib/namedEntities/3430 html5lib-tests ⇉ Named entity: rightrightarrows; with a semi-colon 18 B
003838 html5lib/namedEntities/3431 html5lib-tests &rightsquigarrow Bad named entity: rightsquigarrow without a semi-colon 16 B
003839 html5lib/namedEntities/3432 html5lib-tests ↝ Named entity: rightsquigarrow; with a semi-colon 17 B
003840 html5lib/namedEntities/3433 html5lib-tests &rightthreetimes Bad named entity: rightthreetimes without a semi-colon 16 B
003841 html5lib/namedEntities/3434 html5lib-tests ⋌ Named entity: rightthreetimes; with a semi-colon 17 B
003842 html5lib/namedEntities/3435 html5lib-tests &ring Bad named entity: ring without a semi-colon 5 B
003843 html5lib/namedEntities/3436 html5lib-tests ˚ Named entity: ring; with a semi-colon 6 B
003844 html5lib/namedEntities/3437 html5lib-tests &risingdotseq Bad named entity: risingdotseq without a semi-colon 13 B
003845 html5lib/namedEntities/3438 html5lib-tests ≓ Named entity: risingdotseq; with a semi-colon 14 B
003846 html5lib/namedEntities/3439 html5lib-tests &rlarr Bad named entity: rlarr without a semi-colon 6 B
003847 html5lib/namedEntities/3440 html5lib-tests ⇄ Named entity: rlarr; with a semi-colon 7 B
003848 html5lib/namedEntities/3441 html5lib-tests &rlhar Bad named entity: rlhar without a semi-colon 6 B
003849 html5lib/namedEntities/3442 html5lib-tests ⇌ Named entity: rlhar; with a semi-colon 7 B
003850 html5lib/namedEntities/3443 html5lib-tests &rlm Bad named entity: rlm without a semi-colon 4 B
003851 html5lib/namedEntities/3444 html5lib-tests ⟨U+200F⟩ Named entity: rlm; with a semi-colon 5 B
003852 html5lib/namedEntities/3445 html5lib-tests &rmoust Bad named entity: rmoust without a semi-colon 7 B
003853 html5lib/namedEntities/3446 html5lib-tests ⎱ Named entity: rmoust; with a semi-colon 8 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.