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
000253 html5lib/numericEntities/0182 html5lib-tests j Valid numeric entity character U+006A 8 B
000254 html5lib/numericEntities/0183 html5lib-tests k Valid numeric entity character U+006B 8 B
000255 html5lib/numericEntities/0184 html5lib-tests l Valid numeric entity character U+006C 8 B
000256 html5lib/numericEntities/0185 html5lib-tests m Valid numeric entity character U+006D 8 B
000257 html5lib/numericEntities/0186 html5lib-tests n Valid numeric entity character U+006E 8 B
000258 html5lib/numericEntities/0187 html5lib-tests o Valid numeric entity character U+006F 8 B
000259 html5lib/numericEntities/0188 html5lib-tests p Valid numeric entity character U+0070 8 B
000260 html5lib/numericEntities/0189 html5lib-tests q Valid numeric entity character U+0071 8 B
000261 html5lib/numericEntities/0190 html5lib-tests r Valid numeric entity character U+0072 8 B
000262 html5lib/numericEntities/0191 html5lib-tests s Valid numeric entity character U+0073 8 B
000263 html5lib/numericEntities/0192 html5lib-tests t Valid numeric entity character U+0074 8 B
000264 html5lib/numericEntities/0193 html5lib-tests u Valid numeric entity character U+0075 8 B
000265 html5lib/numericEntities/0194 html5lib-tests v Valid numeric entity character U+0076 8 B
000266 html5lib/numericEntities/0195 html5lib-tests w Valid numeric entity character U+0077 8 B
000267 html5lib/numericEntities/0196 html5lib-tests x Valid numeric entity character U+0078 8 B
000268 html5lib/numericEntities/0197 html5lib-tests y Valid numeric entity character U+0079 8 B
000269 html5lib/numericEntities/0198 html5lib-tests z Valid numeric entity character U+007A 8 B
000270 html5lib/numericEntities/0199 html5lib-tests { Valid numeric entity character U+007B 8 B
000271 html5lib/numericEntities/0200 html5lib-tests | Valid numeric entity character U+007C 8 B
000272 html5lib/numericEntities/0201 html5lib-tests } Valid numeric entity character U+007D 8 B
000273 html5lib/numericEntities/0202 html5lib-tests ~ Valid numeric entity character U+007E 8 B
000274 html5lib/numericEntities/0203 html5lib-tests ⟨U+00A0⟩ Valid numeric entity character U+00A0 8 B
000275 html5lib/numericEntities/0204 html5lib-tests ¡ Valid numeric entity character U+00A1 8 B
000276 html5lib/numericEntities/0205 html5lib-tests ¢ Valid numeric entity character U+00A2 8 B
000277 html5lib/numericEntities/0206 html5lib-tests £ Valid numeric entity character U+00A3 8 B
000278 html5lib/numericEntities/0207 html5lib-tests ¤ Valid numeric entity character U+00A4 8 B
000279 html5lib/numericEntities/0208 html5lib-tests ¥ Valid numeric entity character U+00A5 8 B
000280 html5lib/numericEntities/0209 html5lib-tests ¦ Valid numeric entity character U+00A6 8 B
000281 html5lib/numericEntities/0210 html5lib-tests § Valid numeric entity character U+00A7 8 B
000282 html5lib/numericEntities/0211 html5lib-tests ¨ Valid numeric entity character U+00A8 8 B
000283 html5lib/numericEntities/0212 html5lib-tests © Valid numeric entity character U+00A9 8 B
000284 html5lib/numericEntities/0213 html5lib-tests ª Valid numeric entity character U+00AA 8 B
000285 html5lib/numericEntities/0214 html5lib-tests « Valid numeric entity character U+00AB 8 B
000286 html5lib/numericEntities/0215 html5lib-tests ¬ Valid numeric entity character U+00AC 8 B
000287 html5lib/numericEntities/0216 html5lib-tests ⟨U+00AD⟩ Valid numeric entity character U+00AD 8 B
000288 html5lib/numericEntities/0217 html5lib-tests ® Valid numeric entity character U+00AE 8 B
000289 html5lib/numericEntities/0218 html5lib-tests ¯ Valid numeric entity character U+00AF 8 B
000290 html5lib/numericEntities/0219 html5lib-tests ° Valid numeric entity character U+00B0 8 B
000291 html5lib/numericEntities/0220 html5lib-tests ± Valid numeric entity character U+00B1 8 B
000292 html5lib/numericEntities/0221 html5lib-tests ² Valid numeric entity character U+00B2 8 B
000293 html5lib/numericEntities/0222 html5lib-tests ³ Valid numeric entity character U+00B3 8 B
000294 html5lib/numericEntities/0223 html5lib-tests ´ Valid numeric entity character U+00B4 8 B
000295 html5lib/numericEntities/0224 html5lib-tests µ Valid numeric entity character U+00B5 8 B
000296 html5lib/numericEntities/0225 html5lib-tests Valid numeric entity character U+00B6 8 B
000297 html5lib/numericEntities/0226 html5lib-tests · Valid numeric entity character U+00B7 8 B
000298 html5lib/numericEntities/0227 html5lib-tests ¸ Valid numeric entity character U+00B8 8 B
000299 html5lib/numericEntities/0228 html5lib-tests ¹ Valid numeric entity character U+00B9 8 B
000300 html5lib/numericEntities/0229 html5lib-tests º Valid numeric entity character U+00BA 8 B
000301 html5lib/numericEntities/0230 html5lib-tests » Valid numeric entity character U+00BB 8 B
000302 html5lib/numericEntities/0231 html5lib-tests ¼ Valid numeric entity character U+00BC 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.