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
001304 html5lib/namedEntities/0897 html5lib-tests ℝ Named entity: Ropf; with a semi-colon 6 B
001305 html5lib/namedEntities/0898 html5lib-tests &RoundImplies Bad named entity: RoundImplies without a semi-colon 13 B
001306 html5lib/namedEntities/0899 html5lib-tests ⥰ Named entity: RoundImplies; with a semi-colon 14 B
001307 html5lib/namedEntities/0900 html5lib-tests &Rrightarrow Bad named entity: Rrightarrow without a semi-colon 12 B
001308 html5lib/namedEntities/0901 html5lib-tests ⇛ Named entity: Rrightarrow; with a semi-colon 13 B
001309 html5lib/namedEntities/0902 html5lib-tests &Rscr Bad named entity: Rscr without a semi-colon 5 B
001310 html5lib/namedEntities/0903 html5lib-tests ℛ Named entity: Rscr; with a semi-colon 6 B
001311 html5lib/namedEntities/0904 html5lib-tests &Rsh Bad named entity: Rsh without a semi-colon 4 B
001312 html5lib/namedEntities/0905 html5lib-tests ↱ Named entity: Rsh; with a semi-colon 5 B
001313 html5lib/namedEntities/0906 html5lib-tests &RuleDelayed Bad named entity: RuleDelayed without a semi-colon 12 B
001314 html5lib/namedEntities/0907 html5lib-tests ⧴ Named entity: RuleDelayed; with a semi-colon 13 B
001315 html5lib/namedEntities/0908 html5lib-tests &SHCHcy Bad named entity: SHCHcy without a semi-colon 7 B
001316 html5lib/namedEntities/0909 html5lib-tests Щ Named entity: SHCHcy; with a semi-colon 8 B
001317 html5lib/namedEntities/0910 html5lib-tests &SHcy Bad named entity: SHcy without a semi-colon 5 B
001318 html5lib/namedEntities/0911 html5lib-tests Ш Named entity: SHcy; with a semi-colon 6 B
001319 html5lib/namedEntities/0912 html5lib-tests &SOFTcy Bad named entity: SOFTcy without a semi-colon 7 B
001320 html5lib/namedEntities/0913 html5lib-tests Ь Named entity: SOFTcy; with a semi-colon 8 B
001321 html5lib/namedEntities/0914 html5lib-tests &Sacute Bad named entity: Sacute without a semi-colon 7 B
001322 html5lib/namedEntities/0915 html5lib-tests Ś Named entity: Sacute; with a semi-colon 8 B
001323 html5lib/namedEntities/0916 html5lib-tests &Sc Bad named entity: Sc without a semi-colon 3 B
001324 html5lib/namedEntities/0917 html5lib-tests ⪼ Named entity: Sc; with a semi-colon 4 B
001325 html5lib/namedEntities/0918 html5lib-tests &Scaron Bad named entity: Scaron without a semi-colon 7 B
001326 html5lib/namedEntities/0919 html5lib-tests Š Named entity: Scaron; with a semi-colon 8 B
001327 html5lib/namedEntities/0920 html5lib-tests &Scedil Bad named entity: Scedil without a semi-colon 7 B
001328 html5lib/namedEntities/0921 html5lib-tests Ş Named entity: Scedil; with a semi-colon 8 B
001329 html5lib/namedEntities/0922 html5lib-tests &Scirc Bad named entity: Scirc without a semi-colon 6 B
001330 html5lib/namedEntities/0923 html5lib-tests Ŝ Named entity: Scirc; with a semi-colon 7 B
001331 html5lib/namedEntities/0924 html5lib-tests &Scy Bad named entity: Scy without a semi-colon 4 B
001332 html5lib/namedEntities/0925 html5lib-tests С Named entity: Scy; with a semi-colon 5 B
001333 html5lib/namedEntities/0926 html5lib-tests &Sfr Bad named entity: Sfr without a semi-colon 4 B
001334 html5lib/namedEntities/0927 html5lib-tests 𝔖 Named entity: Sfr; with a semi-colon 5 B
001335 html5lib/namedEntities/0928 html5lib-tests &ShortDownArrow Bad named entity: ShortDownArrow without a semi-colon 15 B
001336 html5lib/namedEntities/0929 html5lib-tests ↓ Named entity: ShortDownArrow; with a semi-colon 16 B
001337 html5lib/namedEntities/0930 html5lib-tests &ShortLeftArrow Bad named entity: ShortLeftArrow without a semi-colon 15 B
001338 html5lib/namedEntities/0931 html5lib-tests ← Named entity: ShortLeftArrow; with a semi-colon 16 B
001339 html5lib/namedEntities/0932 html5lib-tests &ShortRightArrow Bad named entity: ShortRightArrow without a semi-colon 16 B
001340 html5lib/namedEntities/0933 html5lib-tests → Named entity: ShortRightArrow; with a semi-colon 17 B
001341 html5lib/namedEntities/0934 html5lib-tests &ShortUpArrow Bad named entity: ShortUpArrow without a semi-colon 13 B
001342 html5lib/namedEntities/0935 html5lib-tests ↑ Named entity: ShortUpArrow; with a semi-colon 14 B
001343 html5lib/namedEntities/0936 html5lib-tests &Sigma Bad named entity: Sigma without a semi-colon 6 B
001344 html5lib/namedEntities/0937 html5lib-tests Σ Named entity: Sigma; with a semi-colon 7 B
001345 html5lib/namedEntities/0938 html5lib-tests &SmallCircle Bad named entity: SmallCircle without a semi-colon 12 B
001346 html5lib/namedEntities/0939 html5lib-tests ∘ Named entity: SmallCircle; with a semi-colon 13 B
001347 html5lib/namedEntities/0940 html5lib-tests &Sopf Bad named entity: Sopf without a semi-colon 5 B
001348 html5lib/namedEntities/0941 html5lib-tests 𝕊 Named entity: Sopf; with a semi-colon 6 B
001349 html5lib/namedEntities/0942 html5lib-tests &Sqrt Bad named entity: Sqrt without a semi-colon 5 B
001350 html5lib/namedEntities/0943 html5lib-tests √ Named entity: Sqrt; with a semi-colon 6 B
001351 html5lib/namedEntities/0944 html5lib-tests &Square Bad named entity: Square without a semi-colon 7 B
001352 html5lib/namedEntities/0945 html5lib-tests □ Named entity: Square; with a semi-colon 8 B
001353 html5lib/namedEntities/0946 html5lib-tests &SquareIntersection Bad named entity: SquareIntersection without a semi-colon 19 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.