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 |
|---|---|---|---|---|
| 003750 | html5lib/namedEntities/3343 html5lib-tests |
&rarrsim
|
8 B | |
| 003751 | html5lib/namedEntities/3344 html5lib-tests |
⥴
|
9 B | |
| 003752 | html5lib/namedEntities/3345 html5lib-tests |
&rarrtl
|
7 B | |
| 003753 | html5lib/namedEntities/3346 html5lib-tests |
↣
|
8 B | |
| 003754 | html5lib/namedEntities/3347 html5lib-tests |
&rarrw
|
6 B | |
| 003755 | html5lib/namedEntities/3348 html5lib-tests |
↝
|
7 B | |
| 003756 | html5lib/namedEntities/3349 html5lib-tests |
&ratail
|
7 B | |
| 003757 | html5lib/namedEntities/3350 html5lib-tests |
⤚
|
8 B | |
| 003758 | html5lib/namedEntities/3351 html5lib-tests |
&ratio
|
6 B | |
| 003759 | html5lib/namedEntities/3352 html5lib-tests |
∶
|
7 B | |
| 003760 | html5lib/namedEntities/3353 html5lib-tests |
&rationals
|
10 B | |
| 003761 | html5lib/namedEntities/3354 html5lib-tests |
ℚ
|
11 B | |
| 003762 | html5lib/namedEntities/3355 html5lib-tests |
&rbarr
|
6 B | |
| 003763 | html5lib/namedEntities/3356 html5lib-tests |
⤍
|
7 B | |
| 003764 | html5lib/namedEntities/3357 html5lib-tests |
&rbbrk
|
6 B | |
| 003765 | html5lib/namedEntities/3358 html5lib-tests |
❳
|
7 B | |
| 003766 | html5lib/namedEntities/3359 html5lib-tests |
&rbrace
|
7 B | |
| 003767 | html5lib/namedEntities/3360 html5lib-tests |
}
|
8 B | |
| 003768 | html5lib/namedEntities/3361 html5lib-tests |
&rbrack
|
7 B | |
| 003769 | html5lib/namedEntities/3362 html5lib-tests |
]
|
8 B | |
| 003770 | html5lib/namedEntities/3363 html5lib-tests |
&rbrke
|
6 B | |
| 003771 | html5lib/namedEntities/3364 html5lib-tests |
⦌
|
7 B | |
| 003772 | html5lib/namedEntities/3365 html5lib-tests |
&rbrksld
|
8 B | |
| 003773 | html5lib/namedEntities/3366 html5lib-tests |
⦎
|
9 B | |
| 003774 | html5lib/namedEntities/3367 html5lib-tests |
&rbrkslu
|
8 B | |
| 003775 | html5lib/namedEntities/3368 html5lib-tests |
⦐
|
9 B | |
| 003776 | html5lib/namedEntities/3369 html5lib-tests |
&rcaron
|
7 B | |
| 003777 | html5lib/namedEntities/3370 html5lib-tests |
ř
|
8 B | |
| 003778 | html5lib/namedEntities/3371 html5lib-tests |
&rcedil
|
7 B | |
| 003779 | html5lib/namedEntities/3372 html5lib-tests |
ŗ
|
8 B | |
| 003780 | html5lib/namedEntities/3373 html5lib-tests |
&rceil
|
6 B | |
| 003781 | html5lib/namedEntities/3374 html5lib-tests |
⌉
|
7 B | |
| 003782 | html5lib/namedEntities/3375 html5lib-tests |
&rcub
|
5 B | |
| 003783 | html5lib/namedEntities/3376 html5lib-tests |
}
|
6 B | |
| 003784 | html5lib/namedEntities/3377 html5lib-tests |
&rcy
|
4 B | |
| 003785 | html5lib/namedEntities/3378 html5lib-tests |
р
|
5 B | |
| 003786 | html5lib/namedEntities/3379 html5lib-tests |
&rdca
|
5 B | |
| 003787 | html5lib/namedEntities/3380 html5lib-tests |
⤷
|
6 B | |
| 003788 | html5lib/namedEntities/3381 html5lib-tests |
&rdldhar
|
8 B | |
| 003789 | html5lib/namedEntities/3382 html5lib-tests |
⥩
|
9 B | |
| 003790 | html5lib/namedEntities/3383 html5lib-tests |
&rdquo
|
6 B | |
| 003791 | html5lib/namedEntities/3384 html5lib-tests |
”
|
7 B | |
| 003792 | html5lib/namedEntities/3385 html5lib-tests |
&rdquor
|
7 B | |
| 003793 | html5lib/namedEntities/3386 html5lib-tests |
”
|
8 B | |
| 003794 | html5lib/namedEntities/3387 html5lib-tests |
&rdsh
|
5 B | |
| 003795 | html5lib/namedEntities/3388 html5lib-tests |
↳
|
6 B | |
| 003796 | html5lib/namedEntities/3389 html5lib-tests |
&real
|
5 B | |
| 003797 | html5lib/namedEntities/3390 html5lib-tests |
ℜ
|
6 B | |
| 003798 | html5lib/namedEntities/3391 html5lib-tests |
&realine
|
8 B | |
| 003799 | html5lib/namedEntities/3392 html5lib-tests |
ℛ
|
9 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.
- Named character references — the table of 2,231 names, including the legacy ones that work without a semicolon
- Numeric character reference end state — the Windows-1252 remapping and the rules for 0, surrogates and out-of-range numbers
- html5lib-tests tokenizer tests — the source of the 4,617 html5lib cases