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
003150 html5lib/namedEntities/2743 html5lib-tests ∇ Named entity: nabla; with a semi-colon 7 B
003151 html5lib/namedEntities/2744 html5lib-tests &nacute Bad named entity: nacute without a semi-colon 7 B
003152 html5lib/namedEntities/2745 html5lib-tests ń Named entity: nacute; with a semi-colon 8 B
003153 html5lib/namedEntities/2746 html5lib-tests &nang Bad named entity: nang without a semi-colon 5 B
003154 html5lib/namedEntities/2747 html5lib-tests ∠⃒ Named entity: nang; with a semi-colon 6 B
003155 html5lib/namedEntities/2748 html5lib-tests &nap Bad named entity: nap without a semi-colon 4 B
003156 html5lib/namedEntities/2749 html5lib-tests ≉ Named entity: nap; with a semi-colon 5 B
003157 html5lib/namedEntities/2750 html5lib-tests &napE Bad named entity: napE without a semi-colon 5 B
003158 html5lib/namedEntities/2751 html5lib-tests ⩰̸ Named entity: napE; with a semi-colon 6 B
003159 html5lib/namedEntities/2752 html5lib-tests &napid Bad named entity: napid without a semi-colon 6 B
003160 html5lib/namedEntities/2753 html5lib-tests ≋̸ Named entity: napid; with a semi-colon 7 B
003161 html5lib/namedEntities/2754 html5lib-tests &napos Bad named entity: napos without a semi-colon 6 B
003162 html5lib/namedEntities/2755 html5lib-tests ʼn Named entity: napos; with a semi-colon 7 B
003163 html5lib/namedEntities/2756 html5lib-tests &napprox Bad named entity: napprox without a semi-colon 8 B
003164 html5lib/namedEntities/2757 html5lib-tests ≉ Named entity: napprox; with a semi-colon 9 B
003165 html5lib/namedEntities/2758 html5lib-tests &natur Bad named entity: natur without a semi-colon 6 B
003166 html5lib/namedEntities/2759 html5lib-tests ♮ Named entity: natur; with a semi-colon 7 B
003167 html5lib/namedEntities/2760 html5lib-tests &natural Bad named entity: natural without a semi-colon 8 B
003168 html5lib/namedEntities/2761 html5lib-tests ♮ Named entity: natural; with a semi-colon 9 B
003169 html5lib/namedEntities/2762 html5lib-tests &naturals Bad named entity: naturals without a semi-colon 9 B
003170 html5lib/namedEntities/2763 html5lib-tests ℕ Named entity: naturals; with a semi-colon 10 B
003171 html5lib/namedEntities/2764 html5lib-tests ⟨U+00A0⟩ Named entity: nbsp without a semi-colon 5 B
003172 html5lib/namedEntities/2765 html5lib-tests ⟨U+00A0⟩ Named entity: nbsp; with a semi-colon 6 B
003173 html5lib/namedEntities/2766 html5lib-tests &nbump Bad named entity: nbump without a semi-colon 6 B
003174 html5lib/namedEntities/2767 html5lib-tests ≎̸ Named entity: nbump; with a semi-colon 7 B
003175 html5lib/namedEntities/2768 html5lib-tests &nbumpe Bad named entity: nbumpe without a semi-colon 7 B
003176 html5lib/namedEntities/2769 html5lib-tests ≏̸ Named entity: nbumpe; with a semi-colon 8 B
003177 html5lib/namedEntities/2770 html5lib-tests &ncap Bad named entity: ncap without a semi-colon 5 B
003178 html5lib/namedEntities/2771 html5lib-tests ⩃ Named entity: ncap; with a semi-colon 6 B
003179 html5lib/namedEntities/2772 html5lib-tests &ncaron Bad named entity: ncaron without a semi-colon 7 B
003180 html5lib/namedEntities/2773 html5lib-tests ň Named entity: ncaron; with a semi-colon 8 B
003181 html5lib/namedEntities/2774 html5lib-tests &ncedil Bad named entity: ncedil without a semi-colon 7 B
003182 html5lib/namedEntities/2775 html5lib-tests ņ Named entity: ncedil; with a semi-colon 8 B
003183 html5lib/namedEntities/2776 html5lib-tests &ncong Bad named entity: ncong without a semi-colon 6 B
003184 html5lib/namedEntities/2777 html5lib-tests ≇ Named entity: ncong; with a semi-colon 7 B
003185 html5lib/namedEntities/2778 html5lib-tests &ncongdot Bad named entity: ncongdot without a semi-colon 9 B
003186 html5lib/namedEntities/2779 html5lib-tests ⩭̸ Named entity: ncongdot; with a semi-colon 10 B
003187 html5lib/namedEntities/2780 html5lib-tests &ncup Bad named entity: ncup without a semi-colon 5 B
003188 html5lib/namedEntities/2781 html5lib-tests ⩂ Named entity: ncup; with a semi-colon 6 B
003189 html5lib/namedEntities/2782 html5lib-tests &ncy Bad named entity: ncy without a semi-colon 4 B
003190 html5lib/namedEntities/2783 html5lib-tests н Named entity: ncy; with a semi-colon 5 B
003191 html5lib/namedEntities/2784 html5lib-tests &ndash Bad named entity: ndash without a semi-colon 6 B
003192 html5lib/namedEntities/2785 html5lib-tests – Named entity: ndash; with a semi-colon 7 B
003193 html5lib/namedEntities/2786 html5lib-tests &ne Bad named entity: ne without a semi-colon 3 B
003194 html5lib/namedEntities/2787 html5lib-tests ≠ Named entity: ne; with a semi-colon 4 B
003195 html5lib/namedEntities/2788 html5lib-tests &neArr Bad named entity: neArr without a semi-colon 6 B
003196 html5lib/namedEntities/2789 html5lib-tests ⇗ Named entity: neArr; with a semi-colon 7 B
003197 html5lib/namedEntities/2790 html5lib-tests &nearhk Bad named entity: nearhk without a semi-colon 7 B
003198 html5lib/namedEntities/2791 html5lib-tests ⤤ Named entity: nearhk; with a semi-colon 8 B
003199 html5lib/namedEntities/2792 html5lib-tests &nearr Bad named entity: nearr 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.