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
003900 html5lib/namedEntities/3493 html5lib-tests &rtrif Bad named entity: rtrif without a semi-colon 6 B
003901 html5lib/namedEntities/3494 html5lib-tests ▸ Named entity: rtrif; with a semi-colon 7 B
003902 html5lib/namedEntities/3495 html5lib-tests &rtriltri Bad named entity: rtriltri without a semi-colon 9 B
003903 html5lib/namedEntities/3496 html5lib-tests ⧎ Named entity: rtriltri; with a semi-colon 10 B
003904 html5lib/namedEntities/3497 html5lib-tests &ruluhar Bad named entity: ruluhar without a semi-colon 8 B
003905 html5lib/namedEntities/3498 html5lib-tests ⥨ Named entity: ruluhar; with a semi-colon 9 B
003906 html5lib/namedEntities/3499 html5lib-tests &rx Bad named entity: rx without a semi-colon 3 B
003907 html5lib/namedEntities/3500 html5lib-tests ℞ Named entity: rx; with a semi-colon 4 B
003908 html5lib/namedEntities/3501 html5lib-tests &sacute Bad named entity: sacute without a semi-colon 7 B
003909 html5lib/namedEntities/3502 html5lib-tests ś Named entity: sacute; with a semi-colon 8 B
003910 html5lib/namedEntities/3503 html5lib-tests &sbquo Bad named entity: sbquo without a semi-colon 6 B
003911 html5lib/namedEntities/3504 html5lib-tests ‚ Named entity: sbquo; with a semi-colon 7 B
003912 html5lib/namedEntities/3505 html5lib-tests &sc Bad named entity: sc without a semi-colon 3 B
003913 html5lib/namedEntities/3506 html5lib-tests ≻ Named entity: sc; with a semi-colon 4 B
003914 html5lib/namedEntities/3507 html5lib-tests &scE Bad named entity: scE without a semi-colon 4 B
003915 html5lib/namedEntities/3508 html5lib-tests ⪴ Named entity: scE; with a semi-colon 5 B
003916 html5lib/namedEntities/3509 html5lib-tests &scap Bad named entity: scap without a semi-colon 5 B
003917 html5lib/namedEntities/3510 html5lib-tests ⪸ Named entity: scap; with a semi-colon 6 B
003918 html5lib/namedEntities/3511 html5lib-tests &scaron Bad named entity: scaron without a semi-colon 7 B
003919 html5lib/namedEntities/3512 html5lib-tests š Named entity: scaron; with a semi-colon 8 B
003920 html5lib/namedEntities/3513 html5lib-tests &sccue Bad named entity: sccue without a semi-colon 6 B
003921 html5lib/namedEntities/3514 html5lib-tests ≽ Named entity: sccue; with a semi-colon 7 B
003922 html5lib/namedEntities/3515 html5lib-tests &sce Bad named entity: sce without a semi-colon 4 B
003923 html5lib/namedEntities/3516 html5lib-tests ⪰ Named entity: sce; with a semi-colon 5 B
003924 html5lib/namedEntities/3517 html5lib-tests &scedil Bad named entity: scedil without a semi-colon 7 B
003925 html5lib/namedEntities/3518 html5lib-tests ş Named entity: scedil; with a semi-colon 8 B
003926 html5lib/namedEntities/3519 html5lib-tests &scirc Bad named entity: scirc without a semi-colon 6 B
003927 html5lib/namedEntities/3520 html5lib-tests ŝ Named entity: scirc; with a semi-colon 7 B
003928 html5lib/namedEntities/3521 html5lib-tests &scnE Bad named entity: scnE without a semi-colon 5 B
003929 html5lib/namedEntities/3522 html5lib-tests ⪶ Named entity: scnE; with a semi-colon 6 B
003930 html5lib/namedEntities/3523 html5lib-tests &scnap Bad named entity: scnap without a semi-colon 6 B
003931 html5lib/namedEntities/3524 html5lib-tests ⪺ Named entity: scnap; with a semi-colon 7 B
003932 html5lib/namedEntities/3525 html5lib-tests &scnsim Bad named entity: scnsim without a semi-colon 7 B
003933 html5lib/namedEntities/3526 html5lib-tests ⋩ Named entity: scnsim; with a semi-colon 8 B
003934 html5lib/namedEntities/3527 html5lib-tests &scpolint Bad named entity: scpolint without a semi-colon 9 B
003935 html5lib/namedEntities/3528 html5lib-tests ⨓ Named entity: scpolint; with a semi-colon 10 B
003936 html5lib/namedEntities/3529 html5lib-tests &scsim Bad named entity: scsim without a semi-colon 6 B
003937 html5lib/namedEntities/3530 html5lib-tests ≿ Named entity: scsim; with a semi-colon 7 B
003938 html5lib/namedEntities/3531 html5lib-tests &scy Bad named entity: scy without a semi-colon 4 B
003939 html5lib/namedEntities/3532 html5lib-tests с Named entity: scy; with a semi-colon 5 B
003940 html5lib/namedEntities/3533 html5lib-tests &sdot Bad named entity: sdot without a semi-colon 5 B
003941 html5lib/namedEntities/3534 html5lib-tests ⋅ Named entity: sdot; with a semi-colon 6 B
003942 html5lib/namedEntities/3535 html5lib-tests &sdotb Bad named entity: sdotb without a semi-colon 6 B
003943 html5lib/namedEntities/3536 html5lib-tests ⊡ Named entity: sdotb; with a semi-colon 7 B
003944 html5lib/namedEntities/3537 html5lib-tests &sdote Bad named entity: sdote without a semi-colon 6 B
003945 html5lib/namedEntities/3538 html5lib-tests ⩦ Named entity: sdote; with a semi-colon 7 B
003946 html5lib/namedEntities/3539 html5lib-tests &seArr Bad named entity: seArr without a semi-colon 6 B
003947 html5lib/namedEntities/3540 html5lib-tests ⇘ Named entity: seArr; with a semi-colon 7 B
003948 html5lib/namedEntities/3541 html5lib-tests &searhk Bad named entity: searhk without a semi-colon 7 B
003949 html5lib/namedEntities/3542 html5lib-tests ⤥ Named entity: searhk; 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.