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
001250 html5lib/namedEntities/0843 html5lib-tests ⇋ Named entity: ReverseEquilibrium; with a semi-colon 20 B
001251 html5lib/namedEntities/0844 html5lib-tests &ReverseUpEquilibrium Bad named entity: ReverseUpEquilibrium without a semi-colon 21 B
001252 html5lib/namedEntities/0845 html5lib-tests ⥯ Named entity: ReverseUpEquilibrium; with a semi-colon 22 B
001253 html5lib/namedEntities/0846 html5lib-tests &Rfr Bad named entity: Rfr without a semi-colon 4 B
001254 html5lib/namedEntities/0847 html5lib-tests ℜ Named entity: Rfr; with a semi-colon 5 B
001255 html5lib/namedEntities/0848 html5lib-tests &Rho Bad named entity: Rho without a semi-colon 4 B
001256 html5lib/namedEntities/0849 html5lib-tests Ρ Named entity: Rho; with a semi-colon 5 B
001257 html5lib/namedEntities/0850 html5lib-tests &RightAngleBracket Bad named entity: RightAngleBracket without a semi-colon 18 B
001258 html5lib/namedEntities/0851 html5lib-tests ⟩ Named entity: RightAngleBracket; with a semi-colon 19 B
001259 html5lib/namedEntities/0852 html5lib-tests &RightArrow Bad named entity: RightArrow without a semi-colon 11 B
001260 html5lib/namedEntities/0853 html5lib-tests → Named entity: RightArrow; with a semi-colon 12 B
001261 html5lib/namedEntities/0854 html5lib-tests &RightArrowBar Bad named entity: RightArrowBar without a semi-colon 14 B
001262 html5lib/namedEntities/0855 html5lib-tests ⇥ Named entity: RightArrowBar; with a semi-colon 15 B
001263 html5lib/namedEntities/0856 html5lib-tests &RightArrowLeftArrow Bad named entity: RightArrowLeftArrow without a semi-colon 20 B
001264 html5lib/namedEntities/0857 html5lib-tests ⇄ Named entity: RightArrowLeftArrow; with a semi-colon 21 B
001265 html5lib/namedEntities/0858 html5lib-tests &RightCeiling Bad named entity: RightCeiling without a semi-colon 13 B
001266 html5lib/namedEntities/0859 html5lib-tests ⌉ Named entity: RightCeiling; with a semi-colon 14 B
001267 html5lib/namedEntities/0860 html5lib-tests &RightDoubleBracket Bad named entity: RightDoubleBracket without a semi-colon 19 B
001268 html5lib/namedEntities/0861 html5lib-tests ⟧ Named entity: RightDoubleBracket; with a semi-colon 20 B
001269 html5lib/namedEntities/0862 html5lib-tests &RightDownTeeVector Bad named entity: RightDownTeeVector without a semi-colon 19 B
001270 html5lib/namedEntities/0863 html5lib-tests ⥝ Named entity: RightDownTeeVector; with a semi-colon 20 B
001271 html5lib/namedEntities/0864 html5lib-tests &RightDownVector Bad named entity: RightDownVector without a semi-colon 16 B
001272 html5lib/namedEntities/0865 html5lib-tests ⇂ Named entity: RightDownVector; with a semi-colon 17 B
001273 html5lib/namedEntities/0866 html5lib-tests &RightDownVectorBar Bad named entity: RightDownVectorBar without a semi-colon 19 B
001274 html5lib/namedEntities/0867 html5lib-tests ⥕ Named entity: RightDownVectorBar; with a semi-colon 20 B
001275 html5lib/namedEntities/0868 html5lib-tests &RightFloor Bad named entity: RightFloor without a semi-colon 11 B
001276 html5lib/namedEntities/0869 html5lib-tests ⌋ Named entity: RightFloor; with a semi-colon 12 B
001277 html5lib/namedEntities/0870 html5lib-tests &RightTee Bad named entity: RightTee without a semi-colon 9 B
001278 html5lib/namedEntities/0871 html5lib-tests ⊢ Named entity: RightTee; with a semi-colon 10 B
001279 html5lib/namedEntities/0872 html5lib-tests &RightTeeArrow Bad named entity: RightTeeArrow without a semi-colon 14 B
001280 html5lib/namedEntities/0873 html5lib-tests ↦ Named entity: RightTeeArrow; with a semi-colon 15 B
001281 html5lib/namedEntities/0874 html5lib-tests &RightTeeVector Bad named entity: RightTeeVector without a semi-colon 15 B
001282 html5lib/namedEntities/0875 html5lib-tests ⥛ Named entity: RightTeeVector; with a semi-colon 16 B
001283 html5lib/namedEntities/0876 html5lib-tests &RightTriangle Bad named entity: RightTriangle without a semi-colon 14 B
001284 html5lib/namedEntities/0877 html5lib-tests ⊳ Named entity: RightTriangle; with a semi-colon 15 B
001285 html5lib/namedEntities/0878 html5lib-tests &RightTriangleBar Bad named entity: RightTriangleBar without a semi-colon 17 B
001286 html5lib/namedEntities/0879 html5lib-tests ⧐ Named entity: RightTriangleBar; with a semi-colon 18 B
001287 html5lib/namedEntities/0880 html5lib-tests &RightTriangleEqual Bad named entity: RightTriangleEqual without a semi-colon 19 B
001288 html5lib/namedEntities/0881 html5lib-tests ⊵ Named entity: RightTriangleEqual; with a semi-colon 20 B
001289 html5lib/namedEntities/0882 html5lib-tests &RightUpDownVector Bad named entity: RightUpDownVector without a semi-colon 18 B
001290 html5lib/namedEntities/0883 html5lib-tests ⥏ Named entity: RightUpDownVector; with a semi-colon 19 B
001291 html5lib/namedEntities/0884 html5lib-tests &RightUpTeeVector Bad named entity: RightUpTeeVector without a semi-colon 17 B
001292 html5lib/namedEntities/0885 html5lib-tests ⥜ Named entity: RightUpTeeVector; with a semi-colon 18 B
001293 html5lib/namedEntities/0886 html5lib-tests &RightUpVector Bad named entity: RightUpVector without a semi-colon 14 B
001294 html5lib/namedEntities/0887 html5lib-tests ↾ Named entity: RightUpVector; with a semi-colon 15 B
001295 html5lib/namedEntities/0888 html5lib-tests &RightUpVectorBar Bad named entity: RightUpVectorBar without a semi-colon 17 B
001296 html5lib/namedEntities/0889 html5lib-tests ⥔ Named entity: RightUpVectorBar; with a semi-colon 18 B
001297 html5lib/namedEntities/0890 html5lib-tests &RightVector Bad named entity: RightVector without a semi-colon 12 B
001298 html5lib/namedEntities/0891 html5lib-tests ⇀ Named entity: RightVector; with a semi-colon 13 B
001299 html5lib/namedEntities/0892 html5lib-tests &RightVectorBar Bad named entity: RightVectorBar without a semi-colon 15 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.