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
000654 html5lib/namedEntities/0247 html5lib-tests Ê Named entity: Ecirc; with a semi-colon 7 B
000655 html5lib/namedEntities/0248 html5lib-tests &Ecy Bad named entity: Ecy without a semi-colon 4 B
000656 html5lib/namedEntities/0249 html5lib-tests Э Named entity: Ecy; with a semi-colon 5 B
000657 html5lib/namedEntities/0250 html5lib-tests &Edot Bad named entity: Edot without a semi-colon 5 B
000658 html5lib/namedEntities/0251 html5lib-tests Ė Named entity: Edot; with a semi-colon 6 B
000659 html5lib/namedEntities/0252 html5lib-tests &Efr Bad named entity: Efr without a semi-colon 4 B
000660 html5lib/namedEntities/0253 html5lib-tests 𝔈 Named entity: Efr; with a semi-colon 5 B
000661 html5lib/namedEntities/0254 html5lib-tests È Named entity: Egrave without a semi-colon 7 B
000662 html5lib/namedEntities/0255 html5lib-tests È Named entity: Egrave; with a semi-colon 8 B
000663 html5lib/namedEntities/0256 html5lib-tests &Element Bad named entity: Element without a semi-colon 8 B
000664 html5lib/namedEntities/0257 html5lib-tests ∈ Named entity: Element; with a semi-colon 9 B
000665 html5lib/namedEntities/0258 html5lib-tests &Emacr Bad named entity: Emacr without a semi-colon 6 B
000666 html5lib/namedEntities/0259 html5lib-tests Ē Named entity: Emacr; with a semi-colon 7 B
000667 html5lib/namedEntities/0260 html5lib-tests &EmptySmallSquare Bad named entity: EmptySmallSquare without a semi-colon 17 B
000668 html5lib/namedEntities/0261 html5lib-tests ◻ Named entity: EmptySmallSquare; with a semi-colon 18 B
000669 html5lib/namedEntities/0262 html5lib-tests &EmptyVerySmallSquare Bad named entity: EmptyVerySmallSquare without a semi-colon 21 B
000670 html5lib/namedEntities/0263 html5lib-tests ▫ Named entity: EmptyVerySmallSquare; with a semi-colon 22 B
000671 html5lib/namedEntities/0264 html5lib-tests &Eogon Bad named entity: Eogon without a semi-colon 6 B
000672 html5lib/namedEntities/0265 html5lib-tests Ę Named entity: Eogon; with a semi-colon 7 B
000673 html5lib/namedEntities/0266 html5lib-tests &Eopf Bad named entity: Eopf without a semi-colon 5 B
000674 html5lib/namedEntities/0267 html5lib-tests 𝔼 Named entity: Eopf; with a semi-colon 6 B
000675 html5lib/namedEntities/0268 html5lib-tests &Epsilon Bad named entity: Epsilon without a semi-colon 8 B
000676 html5lib/namedEntities/0269 html5lib-tests Ε Named entity: Epsilon; with a semi-colon 9 B
000677 html5lib/namedEntities/0270 html5lib-tests &Equal Bad named entity: Equal without a semi-colon 6 B
000678 html5lib/namedEntities/0271 html5lib-tests ⩵ Named entity: Equal; with a semi-colon 7 B
000679 html5lib/namedEntities/0272 html5lib-tests &EqualTilde Bad named entity: EqualTilde without a semi-colon 11 B
000680 html5lib/namedEntities/0273 html5lib-tests ≂ Named entity: EqualTilde; with a semi-colon 12 B
000681 html5lib/namedEntities/0274 html5lib-tests &Equilibrium Bad named entity: Equilibrium without a semi-colon 12 B
000682 html5lib/namedEntities/0275 html5lib-tests ⇌ Named entity: Equilibrium; with a semi-colon 13 B
000683 html5lib/namedEntities/0276 html5lib-tests &Escr Bad named entity: Escr without a semi-colon 5 B
000684 html5lib/namedEntities/0277 html5lib-tests ℰ Named entity: Escr; with a semi-colon 6 B
000685 html5lib/namedEntities/0278 html5lib-tests &Esim Bad named entity: Esim without a semi-colon 5 B
000686 html5lib/namedEntities/0279 html5lib-tests ⩳ Named entity: Esim; with a semi-colon 6 B
000687 html5lib/namedEntities/0280 html5lib-tests &Eta Bad named entity: Eta without a semi-colon 4 B
000688 html5lib/namedEntities/0281 html5lib-tests Η Named entity: Eta; with a semi-colon 5 B
000689 html5lib/namedEntities/0282 html5lib-tests Ë Named entity: Euml without a semi-colon 5 B
000690 html5lib/namedEntities/0283 html5lib-tests Ë Named entity: Euml; with a semi-colon 6 B
000691 html5lib/namedEntities/0284 html5lib-tests &Exists Bad named entity: Exists without a semi-colon 7 B
000692 html5lib/namedEntities/0285 html5lib-tests ∃ Named entity: Exists; with a semi-colon 8 B
000693 html5lib/namedEntities/0286 html5lib-tests &ExponentialE Bad named entity: ExponentialE without a semi-colon 13 B
000694 html5lib/namedEntities/0287 html5lib-tests ⅇ Named entity: ExponentialE; with a semi-colon 14 B
000695 html5lib/namedEntities/0288 html5lib-tests &Fcy Bad named entity: Fcy without a semi-colon 4 B
000696 html5lib/namedEntities/0289 html5lib-tests Ф Named entity: Fcy; with a semi-colon 5 B
000697 html5lib/namedEntities/0290 html5lib-tests &Ffr Bad named entity: Ffr without a semi-colon 4 B
000698 html5lib/namedEntities/0291 html5lib-tests 𝔉 Named entity: Ffr; with a semi-colon 5 B
000699 html5lib/namedEntities/0292 html5lib-tests &FilledSmallSquare Bad named entity: FilledSmallSquare without a semi-colon 18 B
000700 html5lib/namedEntities/0293 html5lib-tests ◼ Named entity: FilledSmallSquare; with a semi-colon 19 B
000701 html5lib/namedEntities/0294 html5lib-tests &FilledVerySmallSquare Bad named entity: FilledVerySmallSquare without a semi-colon 22 B
000702 html5lib/namedEntities/0295 html5lib-tests ▪ Named entity: FilledVerySmallSquare; with a semi-colon 23 B
000703 html5lib/namedEntities/0296 html5lib-tests &Fopf Bad named entity: Fopf without 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.