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
000704 html5lib/namedEntities/0297 html5lib-tests 𝔽 Named entity: Fopf; with a semi-colon 6 B
000705 html5lib/namedEntities/0298 html5lib-tests &ForAll Bad named entity: ForAll without a semi-colon 7 B
000706 html5lib/namedEntities/0299 html5lib-tests ∀ Named entity: ForAll; with a semi-colon 8 B
000707 html5lib/namedEntities/0300 html5lib-tests &Fouriertrf Bad named entity: Fouriertrf without a semi-colon 11 B
000708 html5lib/namedEntities/0301 html5lib-tests ℱ Named entity: Fouriertrf; with a semi-colon 12 B
000709 html5lib/namedEntities/0302 html5lib-tests &Fscr Bad named entity: Fscr without a semi-colon 5 B
000710 html5lib/namedEntities/0303 html5lib-tests ℱ Named entity: Fscr; with a semi-colon 6 B
000711 html5lib/namedEntities/0304 html5lib-tests &GJcy Bad named entity: GJcy without a semi-colon 5 B
000712 html5lib/namedEntities/0305 html5lib-tests Ѓ Named entity: GJcy; with a semi-colon 6 B
000713 html5lib/namedEntities/0306 html5lib-tests > Named entity: GT without a semi-colon 3 B
000714 html5lib/namedEntities/0307 html5lib-tests > Named entity: GT; with a semi-colon 4 B
000715 html5lib/namedEntities/0308 html5lib-tests &Gamma Bad named entity: Gamma without a semi-colon 6 B
000716 html5lib/namedEntities/0309 html5lib-tests Γ Named entity: Gamma; with a semi-colon 7 B
000717 html5lib/namedEntities/0310 html5lib-tests &Gammad Bad named entity: Gammad without a semi-colon 7 B
000718 html5lib/namedEntities/0311 html5lib-tests Ϝ Named entity: Gammad; with a semi-colon 8 B
000719 html5lib/namedEntities/0312 html5lib-tests &Gbreve Bad named entity: Gbreve without a semi-colon 7 B
000720 html5lib/namedEntities/0313 html5lib-tests Ğ Named entity: Gbreve; with a semi-colon 8 B
000721 html5lib/namedEntities/0314 html5lib-tests &Gcedil Bad named entity: Gcedil without a semi-colon 7 B
000722 html5lib/namedEntities/0315 html5lib-tests Ģ Named entity: Gcedil; with a semi-colon 8 B
000723 html5lib/namedEntities/0316 html5lib-tests &Gcirc Bad named entity: Gcirc without a semi-colon 6 B
000724 html5lib/namedEntities/0317 html5lib-tests Ĝ Named entity: Gcirc; with a semi-colon 7 B
000725 html5lib/namedEntities/0318 html5lib-tests &Gcy Bad named entity: Gcy without a semi-colon 4 B
000726 html5lib/namedEntities/0319 html5lib-tests Г Named entity: Gcy; with a semi-colon 5 B
000727 html5lib/namedEntities/0320 html5lib-tests &Gdot Bad named entity: Gdot without a semi-colon 5 B
000728 html5lib/namedEntities/0321 html5lib-tests Ġ Named entity: Gdot; with a semi-colon 6 B
000729 html5lib/namedEntities/0322 html5lib-tests &Gfr Bad named entity: Gfr without a semi-colon 4 B
000730 html5lib/namedEntities/0323 html5lib-tests 𝔊 Named entity: Gfr; with a semi-colon 5 B
000731 html5lib/namedEntities/0324 html5lib-tests &Gg Bad named entity: Gg without a semi-colon 3 B
000732 html5lib/namedEntities/0325 html5lib-tests ⋙ Named entity: Gg; with a semi-colon 4 B
000733 html5lib/namedEntities/0326 html5lib-tests &Gopf Bad named entity: Gopf without a semi-colon 5 B
000734 html5lib/namedEntities/0327 html5lib-tests 𝔾 Named entity: Gopf; with a semi-colon 6 B
000735 html5lib/namedEntities/0328 html5lib-tests &GreaterEqual Bad named entity: GreaterEqual without a semi-colon 13 B
000736 html5lib/namedEntities/0329 html5lib-tests ≥ Named entity: GreaterEqual; with a semi-colon 14 B
000737 html5lib/namedEntities/0330 html5lib-tests &GreaterEqualLess Bad named entity: GreaterEqualLess without a semi-colon 17 B
000738 html5lib/namedEntities/0331 html5lib-tests ⋛ Named entity: GreaterEqualLess; with a semi-colon 18 B
000739 html5lib/namedEntities/0332 html5lib-tests &GreaterFullEqual Bad named entity: GreaterFullEqual without a semi-colon 17 B
000740 html5lib/namedEntities/0333 html5lib-tests ≧ Named entity: GreaterFullEqual; with a semi-colon 18 B
000741 html5lib/namedEntities/0334 html5lib-tests &GreaterGreater Bad named entity: GreaterGreater without a semi-colon 15 B
000742 html5lib/namedEntities/0335 html5lib-tests ⪢ Named entity: GreaterGreater; with a semi-colon 16 B
000743 html5lib/namedEntities/0336 html5lib-tests &GreaterLess Bad named entity: GreaterLess without a semi-colon 12 B
000744 html5lib/namedEntities/0337 html5lib-tests ≷ Named entity: GreaterLess; with a semi-colon 13 B
000745 html5lib/namedEntities/0338 html5lib-tests &GreaterSlantEqual Bad named entity: GreaterSlantEqual without a semi-colon 18 B
000746 html5lib/namedEntities/0339 html5lib-tests ⩾ Named entity: GreaterSlantEqual; with a semi-colon 19 B
000747 html5lib/namedEntities/0340 html5lib-tests &GreaterTilde Bad named entity: GreaterTilde without a semi-colon 13 B
000748 html5lib/namedEntities/0341 html5lib-tests ≳ Named entity: GreaterTilde; with a semi-colon 14 B
000749 html5lib/namedEntities/0342 html5lib-tests &Gscr Bad named entity: Gscr without a semi-colon 5 B
000750 html5lib/namedEntities/0343 html5lib-tests 𝒢 Named entity: Gscr; with a semi-colon 6 B
000751 html5lib/namedEntities/0344 html5lib-tests &Gt Bad named entity: Gt without a semi-colon 3 B
000752 html5lib/namedEntities/0345 html5lib-tests ≫ Named entity: Gt; with a semi-colon 4 B
000753 html5lib/namedEntities/0346 html5lib-tests &HARDcy Bad named entity: HARDcy without 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.