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

5,931 of 6,835 cases

Case Name Expected Note Size
001004 html5lib/namedEntities/0597 html5lib-tests ⟨U+200B⟩ Named entity: NegativeMediumSpace; with a semi-colon 21 B
001005 html5lib/namedEntities/0598 html5lib-tests &NegativeThickSpace Bad named entity: NegativeThickSpace without a semi-colon 19 B
001006 html5lib/namedEntities/0599 html5lib-tests ⟨U+200B⟩ Named entity: NegativeThickSpace; with a semi-colon 20 B
001007 html5lib/namedEntities/0600 html5lib-tests &NegativeThinSpace Bad named entity: NegativeThinSpace without a semi-colon 18 B
001008 html5lib/namedEntities/0601 html5lib-tests ⟨U+200B⟩ Named entity: NegativeThinSpace; with a semi-colon 19 B
001009 html5lib/namedEntities/0602 html5lib-tests &NegativeVeryThinSpace Bad named entity: NegativeVeryThinSpace without a semi-colon 22 B
001010 html5lib/namedEntities/0603 html5lib-tests ⟨U+200B⟩ Named entity: NegativeVeryThinSpace; with a semi-colon 23 B
001011 html5lib/namedEntities/0604 html5lib-tests &NestedGreaterGreater Bad named entity: NestedGreaterGreater without a semi-colon 21 B
001012 html5lib/namedEntities/0605 html5lib-tests ≫ Named entity: NestedGreaterGreater; with a semi-colon 22 B
001013 html5lib/namedEntities/0606 html5lib-tests &NestedLessLess Bad named entity: NestedLessLess without a semi-colon 15 B
001014 html5lib/namedEntities/0607 html5lib-tests ≪ Named entity: NestedLessLess; with a semi-colon 16 B
001015 html5lib/namedEntities/0608 html5lib-tests &NewLine Bad named entity: NewLine without a semi-colon 8 B
001016 html5lib/namedEntities/0609 html5lib-tests ␊ Named entity: NewLine; with a semi-colon 9 B
001017 html5lib/namedEntities/0610 html5lib-tests &Nfr Bad named entity: Nfr without a semi-colon 4 B
001018 html5lib/namedEntities/0611 html5lib-tests 𝔑 Named entity: Nfr; with a semi-colon 5 B
001019 html5lib/namedEntities/0612 html5lib-tests &NoBreak Bad named entity: NoBreak without a semi-colon 8 B
001020 html5lib/namedEntities/0613 html5lib-tests ⟨U+2060⟩ Named entity: NoBreak; with a semi-colon 9 B
001021 html5lib/namedEntities/0614 html5lib-tests &NonBreakingSpace Bad named entity: NonBreakingSpace without a semi-colon 17 B
001022 html5lib/namedEntities/0615 html5lib-tests ⟨U+00A0⟩ Named entity: NonBreakingSpace; with a semi-colon 18 B
001023 html5lib/namedEntities/0616 html5lib-tests &Nopf Bad named entity: Nopf without a semi-colon 5 B
001024 html5lib/namedEntities/0617 html5lib-tests ℕ Named entity: Nopf; with a semi-colon 6 B
001025 html5lib/namedEntities/0618 html5lib-tests &Not Bad named entity: Not without a semi-colon 4 B
001026 html5lib/namedEntities/0619 html5lib-tests ⫬ Named entity: Not; with a semi-colon 5 B
001027 html5lib/namedEntities/0620 html5lib-tests &NotCongruent Bad named entity: NotCongruent without a semi-colon 13 B
001028 html5lib/namedEntities/0621 html5lib-tests ≢ Named entity: NotCongruent; with a semi-colon 14 B
001029 html5lib/namedEntities/0622 html5lib-tests &NotCupCap Bad named entity: NotCupCap without a semi-colon 10 B
001030 html5lib/namedEntities/0623 html5lib-tests ≭ Named entity: NotCupCap; with a semi-colon 11 B
001031 html5lib/namedEntities/0624 html5lib-tests &NotDoubleVerticalBar Bad named entity: NotDoubleVerticalBar without a semi-colon 21 B
001032 html5lib/namedEntities/0625 html5lib-tests ∦ Named entity: NotDoubleVerticalBar; with a semi-colon 22 B
001033 html5lib/namedEntities/0626 html5lib-tests &NotElement Bad named entity: NotElement without a semi-colon 11 B
001034 html5lib/namedEntities/0627 html5lib-tests ∉ Named entity: NotElement; with a semi-colon 12 B
001035 html5lib/namedEntities/0628 html5lib-tests &NotEqual Bad named entity: NotEqual without a semi-colon 9 B
001036 html5lib/namedEntities/0629 html5lib-tests ≠ Named entity: NotEqual; with a semi-colon 10 B
001037 html5lib/namedEntities/0630 html5lib-tests &NotEqualTilde Bad named entity: NotEqualTilde without a semi-colon 14 B
001038 html5lib/namedEntities/0631 html5lib-tests ≂̸ Named entity: NotEqualTilde; with a semi-colon 15 B
001039 html5lib/namedEntities/0632 html5lib-tests &NotExists Bad named entity: NotExists without a semi-colon 10 B
001040 html5lib/namedEntities/0633 html5lib-tests ∄ Named entity: NotExists; with a semi-colon 11 B
001041 html5lib/namedEntities/0634 html5lib-tests &NotGreater Bad named entity: NotGreater without a semi-colon 11 B
001042 html5lib/namedEntities/0635 html5lib-tests ≯ Named entity: NotGreater; with a semi-colon 12 B
001043 html5lib/namedEntities/0636 html5lib-tests &NotGreaterEqual Bad named entity: NotGreaterEqual without a semi-colon 16 B
001044 html5lib/namedEntities/0637 html5lib-tests ≱ Named entity: NotGreaterEqual; with a semi-colon 17 B
001045 html5lib/namedEntities/0638 html5lib-tests &NotGreaterFullEqual Bad named entity: NotGreaterFullEqual without a semi-colon 20 B
001046 html5lib/namedEntities/0639 html5lib-tests ≧̸ Named entity: NotGreaterFullEqual; with a semi-colon 21 B
001047 html5lib/namedEntities/0640 html5lib-tests &NotGreaterGreater Bad named entity: NotGreaterGreater without a semi-colon 18 B
001048 html5lib/namedEntities/0641 html5lib-tests ≫̸ Named entity: NotGreaterGreater; with a semi-colon 19 B
001049 html5lib/namedEntities/0642 html5lib-tests &NotGreaterLess Bad named entity: NotGreaterLess without a semi-colon 15 B
001050 html5lib/namedEntities/0643 html5lib-tests ≹ Named entity: NotGreaterLess; with a semi-colon 16 B
001051 html5lib/namedEntities/0644 html5lib-tests &NotGreaterSlantEqual Bad named entity: NotGreaterSlantEqual without a semi-colon 21 B
001052 html5lib/namedEntities/0645 html5lib-tests ⩾̸ Named entity: NotGreaterSlantEqual; with a semi-colon 22 B
001053 html5lib/namedEntities/0646 html5lib-tests &NotGreaterTilde Bad named entity: NotGreaterTilde without a semi-colon 16 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.