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
002104 html5lib/namedEntities/1697 html5lib-tests ⩊ Named entity: cupcup; with a semi-colon 8 B
002105 html5lib/namedEntities/1698 html5lib-tests &cupdot Bad named entity: cupdot without a semi-colon 7 B
002106 html5lib/namedEntities/1699 html5lib-tests ⊍ Named entity: cupdot; with a semi-colon 8 B
002107 html5lib/namedEntities/1700 html5lib-tests &cupor Bad named entity: cupor without a semi-colon 6 B
002108 html5lib/namedEntities/1701 html5lib-tests ⩅ Named entity: cupor; with a semi-colon 7 B
002109 html5lib/namedEntities/1702 html5lib-tests &cups Bad named entity: cups without a semi-colon 5 B
002110 html5lib/namedEntities/1703 html5lib-tests ∪︀ Named entity: cups; with a semi-colon 6 B
002111 html5lib/namedEntities/1704 html5lib-tests &curarr Bad named entity: curarr without a semi-colon 7 B
002112 html5lib/namedEntities/1705 html5lib-tests ↷ Named entity: curarr; with a semi-colon 8 B
002113 html5lib/namedEntities/1706 html5lib-tests &curarrm Bad named entity: curarrm without a semi-colon 8 B
002114 html5lib/namedEntities/1707 html5lib-tests ⤼ Named entity: curarrm; with a semi-colon 9 B
002115 html5lib/namedEntities/1708 html5lib-tests &curlyeqprec Bad named entity: curlyeqprec without a semi-colon 12 B
002116 html5lib/namedEntities/1709 html5lib-tests ⋞ Named entity: curlyeqprec; with a semi-colon 13 B
002117 html5lib/namedEntities/1710 html5lib-tests &curlyeqsucc Bad named entity: curlyeqsucc without a semi-colon 12 B
002118 html5lib/namedEntities/1711 html5lib-tests ⋟ Named entity: curlyeqsucc; with a semi-colon 13 B
002119 html5lib/namedEntities/1712 html5lib-tests &curlyvee Bad named entity: curlyvee without a semi-colon 9 B
002120 html5lib/namedEntities/1713 html5lib-tests ⋎ Named entity: curlyvee; with a semi-colon 10 B
002121 html5lib/namedEntities/1714 html5lib-tests &curlywedge Bad named entity: curlywedge without a semi-colon 11 B
002122 html5lib/namedEntities/1715 html5lib-tests ⋏ Named entity: curlywedge; with a semi-colon 12 B
002123 html5lib/namedEntities/1716 html5lib-tests ¤ Named entity: curren without a semi-colon 7 B
002124 html5lib/namedEntities/1717 html5lib-tests ¤ Named entity: curren; with a semi-colon 8 B
002125 html5lib/namedEntities/1718 html5lib-tests &curvearrowleft Bad named entity: curvearrowleft without a semi-colon 15 B
002126 html5lib/namedEntities/1719 html5lib-tests ↶ Named entity: curvearrowleft; with a semi-colon 16 B
002127 html5lib/namedEntities/1720 html5lib-tests &curvearrowright Bad named entity: curvearrowright without a semi-colon 16 B
002128 html5lib/namedEntities/1721 html5lib-tests ↷ Named entity: curvearrowright; with a semi-colon 17 B
002129 html5lib/namedEntities/1722 html5lib-tests &cuvee Bad named entity: cuvee without a semi-colon 6 B
002130 html5lib/namedEntities/1723 html5lib-tests ⋎ Named entity: cuvee; with a semi-colon 7 B
002131 html5lib/namedEntities/1724 html5lib-tests &cuwed Bad named entity: cuwed without a semi-colon 6 B
002132 html5lib/namedEntities/1725 html5lib-tests ⋏ Named entity: cuwed; with a semi-colon 7 B
002133 html5lib/namedEntities/1726 html5lib-tests &cwconint Bad named entity: cwconint without a semi-colon 9 B
002134 html5lib/namedEntities/1727 html5lib-tests ∲ Named entity: cwconint; with a semi-colon 10 B
002135 html5lib/namedEntities/1728 html5lib-tests &cwint Bad named entity: cwint without a semi-colon 6 B
002136 html5lib/namedEntities/1729 html5lib-tests ∱ Named entity: cwint; with a semi-colon 7 B
002137 html5lib/namedEntities/1730 html5lib-tests &cylcty Bad named entity: cylcty without a semi-colon 7 B
002138 html5lib/namedEntities/1731 html5lib-tests ⌭ Named entity: cylcty; with a semi-colon 8 B
002139 html5lib/namedEntities/1732 html5lib-tests &dArr Bad named entity: dArr without a semi-colon 5 B
002140 html5lib/namedEntities/1733 html5lib-tests ⇓ Named entity: dArr; with a semi-colon 6 B
002141 html5lib/namedEntities/1734 html5lib-tests &dHar Bad named entity: dHar without a semi-colon 5 B
002142 html5lib/namedEntities/1735 html5lib-tests ⥥ Named entity: dHar; with a semi-colon 6 B
002143 html5lib/namedEntities/1736 html5lib-tests &dagger Bad named entity: dagger without a semi-colon 7 B
002144 html5lib/namedEntities/1737 html5lib-tests † Named entity: dagger; with a semi-colon 8 B
002145 html5lib/namedEntities/1738 html5lib-tests &daleth Bad named entity: daleth without a semi-colon 7 B
002146 html5lib/namedEntities/1739 html5lib-tests ℸ Named entity: daleth; with a semi-colon 8 B
002147 html5lib/namedEntities/1740 html5lib-tests &darr Bad named entity: darr without a semi-colon 5 B
002148 html5lib/namedEntities/1741 html5lib-tests ↓ Named entity: darr; with a semi-colon 6 B
002149 html5lib/namedEntities/1742 html5lib-tests &dash Bad named entity: dash without a semi-colon 5 B
002150 html5lib/namedEntities/1743 html5lib-tests ‐ Named entity: dash; with a semi-colon 6 B
002151 html5lib/namedEntities/1744 html5lib-tests &dashv Bad named entity: dashv without a semi-colon 6 B
002152 html5lib/namedEntities/1745 html5lib-tests ⊣ Named entity: dashv; with a semi-colon 7 B
002153 html5lib/namedEntities/1746 html5lib-tests &dbkarow Bad named entity: dbkarow without 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.