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
000200 html5lib/numericEntities/0129 html5lib-tests 5 Valid numeric entity character U+0035 8 B
000201 html5lib/numericEntities/0130 html5lib-tests 6 Valid numeric entity character U+0036 8 B
000202 html5lib/numericEntities/0131 html5lib-tests 7 Valid numeric entity character U+0037 8 B
000203 html5lib/numericEntities/0132 html5lib-tests 8 Valid numeric entity character U+0038 8 B
000204 html5lib/numericEntities/0133 html5lib-tests 9 Valid numeric entity character U+0039 8 B
000205 html5lib/numericEntities/0134 html5lib-tests : Valid numeric entity character U+003A 8 B
000206 html5lib/numericEntities/0135 html5lib-tests ; Valid numeric entity character U+003B 8 B
000207 html5lib/numericEntities/0136 html5lib-tests < Valid numeric entity character U+003C 8 B
000208 html5lib/numericEntities/0137 html5lib-tests = Valid numeric entity character U+003D 8 B
000209 html5lib/numericEntities/0138 html5lib-tests > Valid numeric entity character U+003E 8 B
000210 html5lib/numericEntities/0139 html5lib-tests ? Valid numeric entity character U+003F 8 B
000211 html5lib/numericEntities/0140 html5lib-tests @ Valid numeric entity character U+0040 8 B
000212 html5lib/numericEntities/0141 html5lib-tests A Valid numeric entity character U+0041 8 B
000213 html5lib/numericEntities/0142 html5lib-tests B Valid numeric entity character U+0042 8 B
000214 html5lib/numericEntities/0143 html5lib-tests C Valid numeric entity character U+0043 8 B
000215 html5lib/numericEntities/0144 html5lib-tests D Valid numeric entity character U+0044 8 B
000216 html5lib/numericEntities/0145 html5lib-tests E Valid numeric entity character U+0045 8 B
000217 html5lib/numericEntities/0146 html5lib-tests F Valid numeric entity character U+0046 8 B
000218 html5lib/numericEntities/0147 html5lib-tests G Valid numeric entity character U+0047 8 B
000219 html5lib/numericEntities/0148 html5lib-tests H Valid numeric entity character U+0048 8 B
000220 html5lib/numericEntities/0149 html5lib-tests I Valid numeric entity character U+0049 8 B
000221 html5lib/numericEntities/0150 html5lib-tests J Valid numeric entity character U+004A 8 B
000222 html5lib/numericEntities/0151 html5lib-tests K Valid numeric entity character U+004B 8 B
000223 html5lib/numericEntities/0152 html5lib-tests L Valid numeric entity character U+004C 8 B
000224 html5lib/numericEntities/0153 html5lib-tests M Valid numeric entity character U+004D 8 B
000225 html5lib/numericEntities/0154 html5lib-tests N Valid numeric entity character U+004E 8 B
000226 html5lib/numericEntities/0155 html5lib-tests O Valid numeric entity character U+004F 8 B
000227 html5lib/numericEntities/0156 html5lib-tests P Valid numeric entity character U+0050 8 B
000228 html5lib/numericEntities/0157 html5lib-tests Q Valid numeric entity character U+0051 8 B
000229 html5lib/numericEntities/0158 html5lib-tests R Valid numeric entity character U+0052 8 B
000230 html5lib/numericEntities/0159 html5lib-tests S Valid numeric entity character U+0053 8 B
000231 html5lib/numericEntities/0160 html5lib-tests T Valid numeric entity character U+0054 8 B
000232 html5lib/numericEntities/0161 html5lib-tests U Valid numeric entity character U+0055 8 B
000233 html5lib/numericEntities/0162 html5lib-tests V Valid numeric entity character U+0056 8 B
000234 html5lib/numericEntities/0163 html5lib-tests W Valid numeric entity character U+0057 8 B
000235 html5lib/numericEntities/0164 html5lib-tests X Valid numeric entity character U+0058 8 B
000236 html5lib/numericEntities/0165 html5lib-tests Y Valid numeric entity character U+0059 8 B
000237 html5lib/numericEntities/0166 html5lib-tests Z Valid numeric entity character U+005A 8 B
000238 html5lib/numericEntities/0167 html5lib-tests [ Valid numeric entity character U+005B 8 B
000239 html5lib/numericEntities/0168 html5lib-tests \ Valid numeric entity character U+005C 8 B
000240 html5lib/numericEntities/0169 html5lib-tests ] Valid numeric entity character U+005D 8 B
000241 html5lib/numericEntities/0170 html5lib-tests ^ Valid numeric entity character U+005E 8 B
000242 html5lib/numericEntities/0171 html5lib-tests _ Valid numeric entity character U+005F 8 B
000243 html5lib/numericEntities/0172 html5lib-tests ` Valid numeric entity character U+0060 8 B
000244 html5lib/numericEntities/0173 html5lib-tests a Valid numeric entity character U+0061 8 B
000245 html5lib/numericEntities/0174 html5lib-tests b Valid numeric entity character U+0062 8 B
000246 html5lib/numericEntities/0175 html5lib-tests c Valid numeric entity character U+0063 8 B
000247 html5lib/numericEntities/0176 html5lib-tests d Valid numeric entity character U+0064 8 B
000248 html5lib/numericEntities/0177 html5lib-tests e Valid numeric entity character U+0065 8 B
000249 html5lib/numericEntities/0178 html5lib-tests f Valid numeric entity character U+0066 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.