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
003104 html5lib/namedEntities/2697 html5lib-tests ⨪ Named entity: minusdu; with a semi-colon 9 B
003105 html5lib/namedEntities/2698 html5lib-tests &mlcp Bad named entity: mlcp without a semi-colon 5 B
003106 html5lib/namedEntities/2699 html5lib-tests ⫛ Named entity: mlcp; with a semi-colon 6 B
003107 html5lib/namedEntities/2700 html5lib-tests &mldr Bad named entity: mldr without a semi-colon 5 B
003108 html5lib/namedEntities/2701 html5lib-tests … Named entity: mldr; with a semi-colon 6 B
003109 html5lib/namedEntities/2702 html5lib-tests &mnplus Bad named entity: mnplus without a semi-colon 7 B
003110 html5lib/namedEntities/2703 html5lib-tests ∓ Named entity: mnplus; with a semi-colon 8 B
003111 html5lib/namedEntities/2704 html5lib-tests &models Bad named entity: models without a semi-colon 7 B
003112 html5lib/namedEntities/2705 html5lib-tests ⊧ Named entity: models; with a semi-colon 8 B
003113 html5lib/namedEntities/2706 html5lib-tests &mopf Bad named entity: mopf without a semi-colon 5 B
003114 html5lib/namedEntities/2707 html5lib-tests 𝕞 Named entity: mopf; with a semi-colon 6 B
003115 html5lib/namedEntities/2708 html5lib-tests &mp Bad named entity: mp without a semi-colon 3 B
003116 html5lib/namedEntities/2709 html5lib-tests ∓ Named entity: mp; with a semi-colon 4 B
003117 html5lib/namedEntities/2710 html5lib-tests &mscr Bad named entity: mscr without a semi-colon 5 B
003118 html5lib/namedEntities/2711 html5lib-tests 𝓂 Named entity: mscr; with a semi-colon 6 B
003119 html5lib/namedEntities/2712 html5lib-tests &mstpos Bad named entity: mstpos without a semi-colon 7 B
003120 html5lib/namedEntities/2713 html5lib-tests ∾ Named entity: mstpos; with a semi-colon 8 B
003121 html5lib/namedEntities/2714 html5lib-tests &mu Bad named entity: mu without a semi-colon 3 B
003122 html5lib/namedEntities/2715 html5lib-tests μ Named entity: mu; with a semi-colon 4 B
003123 html5lib/namedEntities/2716 html5lib-tests &multimap Bad named entity: multimap without a semi-colon 9 B
003124 html5lib/namedEntities/2717 html5lib-tests ⊸ Named entity: multimap; with a semi-colon 10 B
003125 html5lib/namedEntities/2718 html5lib-tests &mumap Bad named entity: mumap without a semi-colon 6 B
003126 html5lib/namedEntities/2719 html5lib-tests ⊸ Named entity: mumap; with a semi-colon 7 B
003127 html5lib/namedEntities/2720 html5lib-tests &nGg Bad named entity: nGg without a semi-colon 4 B
003128 html5lib/namedEntities/2721 html5lib-tests ⋙̸ Named entity: nGg; with a semi-colon 5 B
003129 html5lib/namedEntities/2722 html5lib-tests &nGt Bad named entity: nGt without a semi-colon 4 B
003130 html5lib/namedEntities/2723 html5lib-tests ≫⃒ Named entity: nGt; with a semi-colon 5 B
003131 html5lib/namedEntities/2724 html5lib-tests &nGtv Bad named entity: nGtv without a semi-colon 5 B
003132 html5lib/namedEntities/2725 html5lib-tests ≫̸ Named entity: nGtv; with a semi-colon 6 B
003133 html5lib/namedEntities/2726 html5lib-tests &nLeftarrow Bad named entity: nLeftarrow without a semi-colon 11 B
003134 html5lib/namedEntities/2727 html5lib-tests ⇍ Named entity: nLeftarrow; with a semi-colon 12 B
003135 html5lib/namedEntities/2728 html5lib-tests &nLeftrightarrow Bad named entity: nLeftrightarrow without a semi-colon 16 B
003136 html5lib/namedEntities/2729 html5lib-tests ⇎ Named entity: nLeftrightarrow; with a semi-colon 17 B
003137 html5lib/namedEntities/2730 html5lib-tests &nLl Bad named entity: nLl without a semi-colon 4 B
003138 html5lib/namedEntities/2731 html5lib-tests ⋘̸ Named entity: nLl; with a semi-colon 5 B
003139 html5lib/namedEntities/2732 html5lib-tests &nLt Bad named entity: nLt without a semi-colon 4 B
003140 html5lib/namedEntities/2733 html5lib-tests ≪⃒ Named entity: nLt; with a semi-colon 5 B
003141 html5lib/namedEntities/2734 html5lib-tests &nLtv Bad named entity: nLtv without a semi-colon 5 B
003142 html5lib/namedEntities/2735 html5lib-tests ≪̸ Named entity: nLtv; with a semi-colon 6 B
003143 html5lib/namedEntities/2736 html5lib-tests &nRightarrow Bad named entity: nRightarrow without a semi-colon 12 B
003144 html5lib/namedEntities/2737 html5lib-tests ⇏ Named entity: nRightarrow; with a semi-colon 13 B
003145 html5lib/namedEntities/2738 html5lib-tests &nVDash Bad named entity: nVDash without a semi-colon 7 B
003146 html5lib/namedEntities/2739 html5lib-tests ⊯ Named entity: nVDash; with a semi-colon 8 B
003147 html5lib/namedEntities/2740 html5lib-tests &nVdash Bad named entity: nVdash without a semi-colon 7 B
003148 html5lib/namedEntities/2741 html5lib-tests ⊮ Named entity: nVdash; with a semi-colon 8 B
003149 html5lib/namedEntities/2742 html5lib-tests &nabla Bad named entity: nabla without a semi-colon 6 B
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

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.