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
002200 html5lib/namedEntities/1793 html5lib-tests ÷ Named entity: divide; with a semi-colon 8 B
002201 html5lib/namedEntities/1794 html5lib-tests ⋇ Named entity: divideontimes; with a semi-colon 15 B
002202 html5lib/namedEntities/1795 html5lib-tests &divonx Bad named entity: divonx without a semi-colon 7 B
002203 html5lib/namedEntities/1796 html5lib-tests ⋇ Named entity: divonx; with a semi-colon 8 B
002204 html5lib/namedEntities/1797 html5lib-tests &djcy Bad named entity: djcy without a semi-colon 5 B
002205 html5lib/namedEntities/1798 html5lib-tests ђ Named entity: djcy; with a semi-colon 6 B
002206 html5lib/namedEntities/1799 html5lib-tests &dlcorn Bad named entity: dlcorn without a semi-colon 7 B
002207 html5lib/namedEntities/1800 html5lib-tests ⌞ Named entity: dlcorn; with a semi-colon 8 B
002208 html5lib/namedEntities/1801 html5lib-tests &dlcrop Bad named entity: dlcrop without a semi-colon 7 B
002209 html5lib/namedEntities/1802 html5lib-tests ⌍ Named entity: dlcrop; with a semi-colon 8 B
002210 html5lib/namedEntities/1803 html5lib-tests &dollar Bad named entity: dollar without a semi-colon 7 B
002211 html5lib/namedEntities/1804 html5lib-tests $ Named entity: dollar; with a semi-colon 8 B
002212 html5lib/namedEntities/1805 html5lib-tests &dopf Bad named entity: dopf without a semi-colon 5 B
002213 html5lib/namedEntities/1806 html5lib-tests 𝕕 Named entity: dopf; with a semi-colon 6 B
002214 html5lib/namedEntities/1807 html5lib-tests &dot Bad named entity: dot without a semi-colon 4 B
002215 html5lib/namedEntities/1808 html5lib-tests ˙ Named entity: dot; with a semi-colon 5 B
002216 html5lib/namedEntities/1809 html5lib-tests &doteq Bad named entity: doteq without a semi-colon 6 B
002217 html5lib/namedEntities/1810 html5lib-tests ≐ Named entity: doteq; with a semi-colon 7 B
002218 html5lib/namedEntities/1811 html5lib-tests &doteqdot Bad named entity: doteqdot without a semi-colon 9 B
002219 html5lib/namedEntities/1812 html5lib-tests ≑ Named entity: doteqdot; with a semi-colon 10 B
002220 html5lib/namedEntities/1813 html5lib-tests &dotminus Bad named entity: dotminus without a semi-colon 9 B
002221 html5lib/namedEntities/1814 html5lib-tests ∸ Named entity: dotminus; with a semi-colon 10 B
002222 html5lib/namedEntities/1815 html5lib-tests &dotplus Bad named entity: dotplus without a semi-colon 8 B
002223 html5lib/namedEntities/1816 html5lib-tests ∔ Named entity: dotplus; with a semi-colon 9 B
002224 html5lib/namedEntities/1817 html5lib-tests &dotsquare Bad named entity: dotsquare without a semi-colon 10 B
002225 html5lib/namedEntities/1818 html5lib-tests ⊡ Named entity: dotsquare; with a semi-colon 11 B
002226 html5lib/namedEntities/1819 html5lib-tests &doublebarwedge Bad named entity: doublebarwedge without a semi-colon 15 B
002227 html5lib/namedEntities/1820 html5lib-tests ⌆ Named entity: doublebarwedge; with a semi-colon 16 B
002228 html5lib/namedEntities/1821 html5lib-tests &downarrow Bad named entity: downarrow without a semi-colon 10 B
002229 html5lib/namedEntities/1822 html5lib-tests ↓ Named entity: downarrow; with a semi-colon 11 B
002230 html5lib/namedEntities/1823 html5lib-tests &downdownarrows Bad named entity: downdownarrows without a semi-colon 15 B
002231 html5lib/namedEntities/1824 html5lib-tests ⇊ Named entity: downdownarrows; with a semi-colon 16 B
002232 html5lib/namedEntities/1825 html5lib-tests &downharpoonleft Bad named entity: downharpoonleft without a semi-colon 16 B
002233 html5lib/namedEntities/1826 html5lib-tests ⇃ Named entity: downharpoonleft; with a semi-colon 17 B
002234 html5lib/namedEntities/1827 html5lib-tests &downharpoonright Bad named entity: downharpoonright without a semi-colon 17 B
002235 html5lib/namedEntities/1828 html5lib-tests ⇂ Named entity: downharpoonright; with a semi-colon 18 B
002236 html5lib/namedEntities/1829 html5lib-tests &drbkarow Bad named entity: drbkarow without a semi-colon 9 B
002237 html5lib/namedEntities/1830 html5lib-tests ⤐ Named entity: drbkarow; with a semi-colon 10 B
002238 html5lib/namedEntities/1831 html5lib-tests &drcorn Bad named entity: drcorn without a semi-colon 7 B
002239 html5lib/namedEntities/1832 html5lib-tests ⌟ Named entity: drcorn; with a semi-colon 8 B
002240 html5lib/namedEntities/1833 html5lib-tests &drcrop Bad named entity: drcrop without a semi-colon 7 B
002241 html5lib/namedEntities/1834 html5lib-tests ⌌ Named entity: drcrop; with a semi-colon 8 B
002242 html5lib/namedEntities/1835 html5lib-tests &dscr Bad named entity: dscr without a semi-colon 5 B
002243 html5lib/namedEntities/1836 html5lib-tests 𝒹 Named entity: dscr; with a semi-colon 6 B
002244 html5lib/namedEntities/1837 html5lib-tests &dscy Bad named entity: dscy without a semi-colon 5 B
002245 html5lib/namedEntities/1838 html5lib-tests ѕ Named entity: dscy; with a semi-colon 6 B
002246 html5lib/namedEntities/1839 html5lib-tests &dsol Bad named entity: dsol without a semi-colon 5 B
002247 html5lib/namedEntities/1840 html5lib-tests ⧶ Named entity: dsol; with a semi-colon 6 B
002248 html5lib/namedEntities/1841 html5lib-tests &dstrok Bad named entity: dstrok without a semi-colon 7 B
002249 html5lib/namedEntities/1842 html5lib-tests đ Named entity: dstrok; with a semi-colon 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.