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
002254 html5lib/namedEntities/1847 html5lib-tests &dtrif Bad named entity: dtrif without a semi-colon 6 B
002255 html5lib/namedEntities/1848 html5lib-tests ▾ Named entity: dtrif; with a semi-colon 7 B
002256 html5lib/namedEntities/1849 html5lib-tests &duarr Bad named entity: duarr without a semi-colon 6 B
002257 html5lib/namedEntities/1850 html5lib-tests ⇵ Named entity: duarr; with a semi-colon 7 B
002258 html5lib/namedEntities/1851 html5lib-tests &duhar Bad named entity: duhar without a semi-colon 6 B
002259 html5lib/namedEntities/1852 html5lib-tests ⥯ Named entity: duhar; with a semi-colon 7 B
002260 html5lib/namedEntities/1853 html5lib-tests &dwangle Bad named entity: dwangle without a semi-colon 8 B
002261 html5lib/namedEntities/1854 html5lib-tests ⦦ Named entity: dwangle; with a semi-colon 9 B
002262 html5lib/namedEntities/1855 html5lib-tests &dzcy Bad named entity: dzcy without a semi-colon 5 B
002263 html5lib/namedEntities/1856 html5lib-tests џ Named entity: dzcy; with a semi-colon 6 B
002264 html5lib/namedEntities/1857 html5lib-tests &dzigrarr Bad named entity: dzigrarr without a semi-colon 9 B
002265 html5lib/namedEntities/1858 html5lib-tests ⟿ Named entity: dzigrarr; with a semi-colon 10 B
002266 html5lib/namedEntities/1859 html5lib-tests &eDDot Bad named entity: eDDot without a semi-colon 6 B
002267 html5lib/namedEntities/1860 html5lib-tests ⩷ Named entity: eDDot; with a semi-colon 7 B
002268 html5lib/namedEntities/1861 html5lib-tests &eDot Bad named entity: eDot without a semi-colon 5 B
002269 html5lib/namedEntities/1862 html5lib-tests ≑ Named entity: eDot; with a semi-colon 6 B
002270 html5lib/namedEntities/1863 html5lib-tests é Named entity: eacute without a semi-colon 7 B
002271 html5lib/namedEntities/1864 html5lib-tests é Named entity: eacute; with a semi-colon 8 B
002272 html5lib/namedEntities/1865 html5lib-tests &easter Bad named entity: easter without a semi-colon 7 B
002273 html5lib/namedEntities/1866 html5lib-tests ⩮ Named entity: easter; with a semi-colon 8 B
002274 html5lib/namedEntities/1867 html5lib-tests &ecaron Bad named entity: ecaron without a semi-colon 7 B
002275 html5lib/namedEntities/1868 html5lib-tests ě Named entity: ecaron; with a semi-colon 8 B
002276 html5lib/namedEntities/1869 html5lib-tests &ecir Bad named entity: ecir without a semi-colon 5 B
002277 html5lib/namedEntities/1870 html5lib-tests ≖ Named entity: ecir; with a semi-colon 6 B
002278 html5lib/namedEntities/1871 html5lib-tests ê Named entity: ecirc without a semi-colon 6 B
002279 html5lib/namedEntities/1872 html5lib-tests ê Named entity: ecirc; with a semi-colon 7 B
002280 html5lib/namedEntities/1873 html5lib-tests &ecolon Bad named entity: ecolon without a semi-colon 7 B
002281 html5lib/namedEntities/1874 html5lib-tests ≕ Named entity: ecolon; with a semi-colon 8 B
002282 html5lib/namedEntities/1875 html5lib-tests &ecy Bad named entity: ecy without a semi-colon 4 B
002283 html5lib/namedEntities/1876 html5lib-tests э Named entity: ecy; with a semi-colon 5 B
002284 html5lib/namedEntities/1877 html5lib-tests &edot Bad named entity: edot without a semi-colon 5 B
002285 html5lib/namedEntities/1878 html5lib-tests ė Named entity: edot; with a semi-colon 6 B
002286 html5lib/namedEntities/1879 html5lib-tests &ee Bad named entity: ee without a semi-colon 3 B
002287 html5lib/namedEntities/1880 html5lib-tests ⅇ Named entity: ee; with a semi-colon 4 B
002288 html5lib/namedEntities/1881 html5lib-tests &efDot Bad named entity: efDot without a semi-colon 6 B
002289 html5lib/namedEntities/1882 html5lib-tests ≒ Named entity: efDot; with a semi-colon 7 B
002290 html5lib/namedEntities/1883 html5lib-tests &efr Bad named entity: efr without a semi-colon 4 B
002291 html5lib/namedEntities/1884 html5lib-tests 𝔢 Named entity: efr; with a semi-colon 5 B
002292 html5lib/namedEntities/1885 html5lib-tests &eg Bad named entity: eg without a semi-colon 3 B
002293 html5lib/namedEntities/1886 html5lib-tests ⪚ Named entity: eg; with a semi-colon 4 B
002294 html5lib/namedEntities/1887 html5lib-tests è Named entity: egrave without a semi-colon 7 B
002295 html5lib/namedEntities/1888 html5lib-tests è Named entity: egrave; with a semi-colon 8 B
002296 html5lib/namedEntities/1889 html5lib-tests &egs Bad named entity: egs without a semi-colon 4 B
002297 html5lib/namedEntities/1890 html5lib-tests ⪖ Named entity: egs; with a semi-colon 5 B
002298 html5lib/namedEntities/1891 html5lib-tests &egsdot Bad named entity: egsdot without a semi-colon 7 B
002299 html5lib/namedEntities/1892 html5lib-tests ⪘ Named entity: egsdot; with a semi-colon 8 B
002300 html5lib/namedEntities/1893 html5lib-tests &el Bad named entity: el without a semi-colon 3 B
002301 html5lib/namedEntities/1894 html5lib-tests ⪙ Named entity: el; with a semi-colon 4 B
002302 html5lib/namedEntities/1895 html5lib-tests &elinters Bad named entity: elinters without a semi-colon 9 B
002303 html5lib/namedEntities/1896 html5lib-tests ⏧ Named entity: elinters; with a semi-colon 10 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.