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
002700 html5lib/namedEntities/2293 html5lib-tests ¿ Named entity: iquest without a semi-colon 7 B
002701 html5lib/namedEntities/2294 html5lib-tests ¿ Named entity: iquest; with a semi-colon 8 B
002702 html5lib/namedEntities/2295 html5lib-tests &iscr Bad named entity: iscr without a semi-colon 5 B
002703 html5lib/namedEntities/2296 html5lib-tests 𝒾 Named entity: iscr; with a semi-colon 6 B
002704 html5lib/namedEntities/2297 html5lib-tests &isin Bad named entity: isin without a semi-colon 5 B
002705 html5lib/namedEntities/2298 html5lib-tests ∈ Named entity: isin; with a semi-colon 6 B
002706 html5lib/namedEntities/2299 html5lib-tests &isinE Bad named entity: isinE without a semi-colon 6 B
002707 html5lib/namedEntities/2300 html5lib-tests ⋹ Named entity: isinE; with a semi-colon 7 B
002708 html5lib/namedEntities/2301 html5lib-tests &isindot Bad named entity: isindot without a semi-colon 8 B
002709 html5lib/namedEntities/2302 html5lib-tests ⋵ Named entity: isindot; with a semi-colon 9 B
002710 html5lib/namedEntities/2303 html5lib-tests &isins Bad named entity: isins without a semi-colon 6 B
002711 html5lib/namedEntities/2304 html5lib-tests ⋴ Named entity: isins; with a semi-colon 7 B
002712 html5lib/namedEntities/2305 html5lib-tests &isinsv Bad named entity: isinsv without a semi-colon 7 B
002713 html5lib/namedEntities/2306 html5lib-tests ⋳ Named entity: isinsv; with a semi-colon 8 B
002714 html5lib/namedEntities/2307 html5lib-tests &isinv Bad named entity: isinv without a semi-colon 6 B
002715 html5lib/namedEntities/2308 html5lib-tests ∈ Named entity: isinv; with a semi-colon 7 B
002716 html5lib/namedEntities/2309 html5lib-tests &it Bad named entity: it without a semi-colon 3 B
002717 html5lib/namedEntities/2310 html5lib-tests ⟨U+2062⟩ Named entity: it; with a semi-colon 4 B
002718 html5lib/namedEntities/2311 html5lib-tests &itilde Bad named entity: itilde without a semi-colon 7 B
002719 html5lib/namedEntities/2312 html5lib-tests ĩ Named entity: itilde; with a semi-colon 8 B
002720 html5lib/namedEntities/2313 html5lib-tests &iukcy Bad named entity: iukcy without a semi-colon 6 B
002721 html5lib/namedEntities/2314 html5lib-tests і Named entity: iukcy; with a semi-colon 7 B
002722 html5lib/namedEntities/2315 html5lib-tests ï Named entity: iuml without a semi-colon 5 B
002723 html5lib/namedEntities/2316 html5lib-tests ï Named entity: iuml; with a semi-colon 6 B
002724 html5lib/namedEntities/2317 html5lib-tests &jcirc Bad named entity: jcirc without a semi-colon 6 B
002725 html5lib/namedEntities/2318 html5lib-tests ĵ Named entity: jcirc; with a semi-colon 7 B
002726 html5lib/namedEntities/2319 html5lib-tests &jcy Bad named entity: jcy without a semi-colon 4 B
002727 html5lib/namedEntities/2320 html5lib-tests й Named entity: jcy; with a semi-colon 5 B
002728 html5lib/namedEntities/2321 html5lib-tests &jfr Bad named entity: jfr without a semi-colon 4 B
002729 html5lib/namedEntities/2322 html5lib-tests 𝔧 Named entity: jfr; with a semi-colon 5 B
002730 html5lib/namedEntities/2323 html5lib-tests &jmath Bad named entity: jmath without a semi-colon 6 B
002731 html5lib/namedEntities/2324 html5lib-tests ȷ Named entity: jmath; with a semi-colon 7 B
002732 html5lib/namedEntities/2325 html5lib-tests &jopf Bad named entity: jopf without a semi-colon 5 B
002733 html5lib/namedEntities/2326 html5lib-tests 𝕛 Named entity: jopf; with a semi-colon 6 B
002734 html5lib/namedEntities/2327 html5lib-tests &jscr Bad named entity: jscr without a semi-colon 5 B
002735 html5lib/namedEntities/2328 html5lib-tests 𝒿 Named entity: jscr; with a semi-colon 6 B
002736 html5lib/namedEntities/2329 html5lib-tests &jsercy Bad named entity: jsercy without a semi-colon 7 B
002737 html5lib/namedEntities/2330 html5lib-tests ј Named entity: jsercy; with a semi-colon 8 B
002738 html5lib/namedEntities/2331 html5lib-tests &jukcy Bad named entity: jukcy without a semi-colon 6 B
002739 html5lib/namedEntities/2332 html5lib-tests є Named entity: jukcy; with a semi-colon 7 B
002740 html5lib/namedEntities/2333 html5lib-tests &kappa Bad named entity: kappa without a semi-colon 6 B
002741 html5lib/namedEntities/2334 html5lib-tests κ Named entity: kappa; with a semi-colon 7 B
002742 html5lib/namedEntities/2335 html5lib-tests &kappav Bad named entity: kappav without a semi-colon 7 B
002743 html5lib/namedEntities/2336 html5lib-tests ϰ Named entity: kappav; with a semi-colon 8 B
002744 html5lib/namedEntities/2337 html5lib-tests &kcedil Bad named entity: kcedil without a semi-colon 7 B
002745 html5lib/namedEntities/2338 html5lib-tests ķ Named entity: kcedil; with a semi-colon 8 B
002746 html5lib/namedEntities/2339 html5lib-tests &kcy Bad named entity: kcy without a semi-colon 4 B
002747 html5lib/namedEntities/2340 html5lib-tests к Named entity: kcy; with a semi-colon 5 B
002748 html5lib/namedEntities/2341 html5lib-tests &kfr Bad named entity: kfr without a semi-colon 4 B
002749 html5lib/namedEntities/2342 html5lib-tests 𝔨 Named entity: kfr; with 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.