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

2,241 of 6,835 cases

Case Name Expected Note Size
000303 html5lib/numericEntities/0232 html5lib-tests ½ Valid numeric entity character U+00BD 8 B
000304 html5lib/numericEntities/0233 html5lib-tests ¾ Valid numeric entity character U+00BE 8 B
000305 html5lib/numericEntities/0234 html5lib-tests ¿ Valid numeric entity character U+00BF 8 B
000306 html5lib/numericEntities/0235 html5lib-tests À Valid numeric entity character U+00C0 8 B
000307 html5lib/numericEntities/0236 html5lib-tests Á Valid numeric entity character U+00C1 8 B
000308 html5lib/numericEntities/0237 html5lib-tests  Valid numeric entity character U+00C2 8 B
000309 html5lib/numericEntities/0238 html5lib-tests à Valid numeric entity character U+00C3 8 B
000310 html5lib/numericEntities/0239 html5lib-tests Ä Valid numeric entity character U+00C4 8 B
000311 html5lib/numericEntities/0240 html5lib-tests Å Valid numeric entity character U+00C5 8 B
000312 html5lib/numericEntities/0241 html5lib-tests Æ Valid numeric entity character U+00C6 8 B
000313 html5lib/numericEntities/0242 html5lib-tests Ç Valid numeric entity character U+00C7 8 B
000314 html5lib/numericEntities/0243 html5lib-tests È Valid numeric entity character U+00C8 8 B
000315 html5lib/numericEntities/0244 html5lib-tests É Valid numeric entity character U+00C9 8 B
000316 html5lib/numericEntities/0245 html5lib-tests Ê Valid numeric entity character U+00CA 8 B
000317 html5lib/numericEntities/0246 html5lib-tests Ë Valid numeric entity character U+00CB 8 B
000318 html5lib/numericEntities/0247 html5lib-tests Ì Valid numeric entity character U+00CC 8 B
000319 html5lib/numericEntities/0248 html5lib-tests Í Valid numeric entity character U+00CD 8 B
000320 html5lib/numericEntities/0249 html5lib-tests Î Valid numeric entity character U+00CE 8 B
000321 html5lib/numericEntities/0250 html5lib-tests Ï Valid numeric entity character U+00CF 8 B
000322 html5lib/numericEntities/0251 html5lib-tests Ð Valid numeric entity character U+00D0 8 B
000323 html5lib/numericEntities/0252 html5lib-tests Ñ Valid numeric entity character U+00D1 8 B
000324 html5lib/numericEntities/0253 html5lib-tests Ò Valid numeric entity character U+00D2 8 B
000325 html5lib/numericEntities/0254 html5lib-tests Ó Valid numeric entity character U+00D3 8 B
000326 html5lib/numericEntities/0255 html5lib-tests Ô Valid numeric entity character U+00D4 8 B
000327 html5lib/numericEntities/0256 html5lib-tests Õ Valid numeric entity character U+00D5 8 B
000328 html5lib/numericEntities/0257 html5lib-tests Ö Valid numeric entity character U+00D6 8 B
000329 html5lib/numericEntities/0258 html5lib-tests × Valid numeric entity character U+00D7 8 B
000330 html5lib/numericEntities/0259 html5lib-tests Ø Valid numeric entity character U+00D8 8 B
000331 html5lib/numericEntities/0260 html5lib-tests Ù Valid numeric entity character U+00D9 8 B
000332 html5lib/numericEntities/0261 html5lib-tests Ú Valid numeric entity character U+00DA 8 B
000333 html5lib/numericEntities/0262 html5lib-tests Û Valid numeric entity character U+00DB 8 B
000334 html5lib/numericEntities/0263 html5lib-tests Ü Valid numeric entity character U+00DC 8 B
000335 html5lib/numericEntities/0264 html5lib-tests Ý Valid numeric entity character U+00DD 8 B
000336 html5lib/numericEntities/0265 html5lib-tests Þ Valid numeric entity character U+00DE 8 B
000337 html5lib/numericEntities/0266 html5lib-tests ß Valid numeric entity character U+00DF 8 B
000338 html5lib/numericEntities/0267 html5lib-tests à Valid numeric entity character U+00E0 8 B
000339 html5lib/numericEntities/0268 html5lib-tests á Valid numeric entity character U+00E1 8 B
000340 html5lib/numericEntities/0269 html5lib-tests â Valid numeric entity character U+00E2 8 B
000341 html5lib/numericEntities/0270 html5lib-tests ã Valid numeric entity character U+00E3 8 B
000342 html5lib/numericEntities/0271 html5lib-tests ä Valid numeric entity character U+00E4 8 B
000343 html5lib/numericEntities/0272 html5lib-tests å Valid numeric entity character U+00E5 8 B
000344 html5lib/numericEntities/0273 html5lib-tests æ Valid numeric entity character U+00E6 8 B
000345 html5lib/numericEntities/0274 html5lib-tests ç Valid numeric entity character U+00E7 8 B
000346 html5lib/numericEntities/0275 html5lib-tests è Valid numeric entity character U+00E8 8 B
000347 html5lib/numericEntities/0276 html5lib-tests é Valid numeric entity character U+00E9 8 B
000348 html5lib/numericEntities/0277 html5lib-tests ê Valid numeric entity character U+00EA 8 B
000349 html5lib/numericEntities/0278 html5lib-tests ë Valid numeric entity character U+00EB 8 B
000350 html5lib/numericEntities/0279 html5lib-tests ì Valid numeric entity character U+00EC 8 B
000351 html5lib/numericEntities/0280 html5lib-tests í Valid numeric entity character U+00ED 8 B
000352 html5lib/numericEntities/0281 html5lib-tests î Valid numeric entity character U+00EE 8 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.