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
003754 html5lib/namedEntities/3347 html5lib-tests &rarrw Bad named entity: rarrw without a semi-colon 6 B
003755 html5lib/namedEntities/3348 html5lib-tests ↝ Named entity: rarrw; with a semi-colon 7 B
003756 html5lib/namedEntities/3349 html5lib-tests &ratail Bad named entity: ratail without a semi-colon 7 B
003757 html5lib/namedEntities/3350 html5lib-tests ⤚ Named entity: ratail; with a semi-colon 8 B
003758 html5lib/namedEntities/3351 html5lib-tests &ratio Bad named entity: ratio without a semi-colon 6 B
003759 html5lib/namedEntities/3352 html5lib-tests ∶ Named entity: ratio; with a semi-colon 7 B
003760 html5lib/namedEntities/3353 html5lib-tests &rationals Bad named entity: rationals without a semi-colon 10 B
003761 html5lib/namedEntities/3354 html5lib-tests ℚ Named entity: rationals; with a semi-colon 11 B
003762 html5lib/namedEntities/3355 html5lib-tests &rbarr Bad named entity: rbarr without a semi-colon 6 B
003763 html5lib/namedEntities/3356 html5lib-tests ⤍ Named entity: rbarr; with a semi-colon 7 B
003764 html5lib/namedEntities/3357 html5lib-tests &rbbrk Bad named entity: rbbrk without a semi-colon 6 B
003765 html5lib/namedEntities/3358 html5lib-tests ❳ Named entity: rbbrk; with a semi-colon 7 B
003766 html5lib/namedEntities/3359 html5lib-tests &rbrace Bad named entity: rbrace without a semi-colon 7 B
003767 html5lib/namedEntities/3360 html5lib-tests } Named entity: rbrace; with a semi-colon 8 B
003768 html5lib/namedEntities/3361 html5lib-tests &rbrack Bad named entity: rbrack without a semi-colon 7 B
003769 html5lib/namedEntities/3362 html5lib-tests ] Named entity: rbrack; with a semi-colon 8 B
003770 html5lib/namedEntities/3363 html5lib-tests &rbrke Bad named entity: rbrke without a semi-colon 6 B
003771 html5lib/namedEntities/3364 html5lib-tests ⦌ Named entity: rbrke; with a semi-colon 7 B
003772 html5lib/namedEntities/3365 html5lib-tests &rbrksld Bad named entity: rbrksld without a semi-colon 8 B
003773 html5lib/namedEntities/3366 html5lib-tests ⦎ Named entity: rbrksld; with a semi-colon 9 B
003774 html5lib/namedEntities/3367 html5lib-tests &rbrkslu Bad named entity: rbrkslu without a semi-colon 8 B
003775 html5lib/namedEntities/3368 html5lib-tests ⦐ Named entity: rbrkslu; with a semi-colon 9 B
003776 html5lib/namedEntities/3369 html5lib-tests &rcaron Bad named entity: rcaron without a semi-colon 7 B
003777 html5lib/namedEntities/3370 html5lib-tests ř Named entity: rcaron; with a semi-colon 8 B
003778 html5lib/namedEntities/3371 html5lib-tests &rcedil Bad named entity: rcedil without a semi-colon 7 B
003779 html5lib/namedEntities/3372 html5lib-tests ŗ Named entity: rcedil; with a semi-colon 8 B
003780 html5lib/namedEntities/3373 html5lib-tests &rceil Bad named entity: rceil without a semi-colon 6 B
003781 html5lib/namedEntities/3374 html5lib-tests ⌉ Named entity: rceil; with a semi-colon 7 B
003782 html5lib/namedEntities/3375 html5lib-tests &rcub Bad named entity: rcub without a semi-colon 5 B
003783 html5lib/namedEntities/3376 html5lib-tests } Named entity: rcub; with a semi-colon 6 B
003784 html5lib/namedEntities/3377 html5lib-tests &rcy Bad named entity: rcy without a semi-colon 4 B
003785 html5lib/namedEntities/3378 html5lib-tests р Named entity: rcy; with a semi-colon 5 B
003786 html5lib/namedEntities/3379 html5lib-tests &rdca Bad named entity: rdca without a semi-colon 5 B
003787 html5lib/namedEntities/3380 html5lib-tests ⤷ Named entity: rdca; with a semi-colon 6 B
003788 html5lib/namedEntities/3381 html5lib-tests &rdldhar Bad named entity: rdldhar without a semi-colon 8 B
003789 html5lib/namedEntities/3382 html5lib-tests ⥩ Named entity: rdldhar; with a semi-colon 9 B
003790 html5lib/namedEntities/3383 html5lib-tests &rdquo Bad named entity: rdquo without a semi-colon 6 B
003791 html5lib/namedEntities/3384 html5lib-tests ” Named entity: rdquo; with a semi-colon 7 B
003792 html5lib/namedEntities/3385 html5lib-tests &rdquor Bad named entity: rdquor without a semi-colon 7 B
003793 html5lib/namedEntities/3386 html5lib-tests ” Named entity: rdquor; with a semi-colon 8 B
003794 html5lib/namedEntities/3387 html5lib-tests &rdsh Bad named entity: rdsh without a semi-colon 5 B
003795 html5lib/namedEntities/3388 html5lib-tests ↳ Named entity: rdsh; with a semi-colon 6 B
003796 html5lib/namedEntities/3389 html5lib-tests &real Bad named entity: real without a semi-colon 5 B
003797 html5lib/namedEntities/3390 html5lib-tests ℜ Named entity: real; with a semi-colon 6 B
003798 html5lib/namedEntities/3391 html5lib-tests &realine Bad named entity: realine without a semi-colon 8 B
003799 html5lib/namedEntities/3392 html5lib-tests ℛ Named entity: realine; with a semi-colon 9 B
003800 html5lib/namedEntities/3393 html5lib-tests &realpart Bad named entity: realpart without a semi-colon 9 B
003801 html5lib/namedEntities/3394 html5lib-tests ℜ Named entity: realpart; with a semi-colon 10 B
003802 html5lib/namedEntities/3395 html5lib-tests &reals Bad named entity: reals without a semi-colon 6 B
003803 html5lib/namedEntities/3396 html5lib-tests ℝ Named entity: reals; with a semi-colon 7 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.