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
001054 html5lib/namedEntities/0647 html5lib-tests ≵ Named entity: NotGreaterTilde; with a semi-colon 17 B
001055 html5lib/namedEntities/0648 html5lib-tests &NotHumpDownHump Bad named entity: NotHumpDownHump without a semi-colon 16 B
001056 html5lib/namedEntities/0649 html5lib-tests ≎̸ Named entity: NotHumpDownHump; with a semi-colon 17 B
001057 html5lib/namedEntities/0650 html5lib-tests &NotHumpEqual Bad named entity: NotHumpEqual without a semi-colon 13 B
001058 html5lib/namedEntities/0651 html5lib-tests ≏̸ Named entity: NotHumpEqual; with a semi-colon 14 B
001059 html5lib/namedEntities/0652 html5lib-tests &NotLeftTriangle Bad named entity: NotLeftTriangle without a semi-colon 16 B
001060 html5lib/namedEntities/0653 html5lib-tests ⋪ Named entity: NotLeftTriangle; with a semi-colon 17 B
001061 html5lib/namedEntities/0654 html5lib-tests &NotLeftTriangleBar Bad named entity: NotLeftTriangleBar without a semi-colon 19 B
001062 html5lib/namedEntities/0655 html5lib-tests ⧏̸ Named entity: NotLeftTriangleBar; with a semi-colon 20 B
001063 html5lib/namedEntities/0656 html5lib-tests &NotLeftTriangleEqual Bad named entity: NotLeftTriangleEqual without a semi-colon 21 B
001064 html5lib/namedEntities/0657 html5lib-tests ⋬ Named entity: NotLeftTriangleEqual; with a semi-colon 22 B
001065 html5lib/namedEntities/0658 html5lib-tests &NotLess Bad named entity: NotLess without a semi-colon 8 B
001066 html5lib/namedEntities/0659 html5lib-tests ≮ Named entity: NotLess; with a semi-colon 9 B
001067 html5lib/namedEntities/0660 html5lib-tests &NotLessEqual Bad named entity: NotLessEqual without a semi-colon 13 B
001068 html5lib/namedEntities/0661 html5lib-tests ≰ Named entity: NotLessEqual; with a semi-colon 14 B
001069 html5lib/namedEntities/0662 html5lib-tests &NotLessGreater Bad named entity: NotLessGreater without a semi-colon 15 B
001070 html5lib/namedEntities/0663 html5lib-tests ≸ Named entity: NotLessGreater; with a semi-colon 16 B
001071 html5lib/namedEntities/0664 html5lib-tests &NotLessLess Bad named entity: NotLessLess without a semi-colon 12 B
001072 html5lib/namedEntities/0665 html5lib-tests ≪̸ Named entity: NotLessLess; with a semi-colon 13 B
001073 html5lib/namedEntities/0666 html5lib-tests &NotLessSlantEqual Bad named entity: NotLessSlantEqual without a semi-colon 18 B
001074 html5lib/namedEntities/0667 html5lib-tests ⩽̸ Named entity: NotLessSlantEqual; with a semi-colon 19 B
001075 html5lib/namedEntities/0668 html5lib-tests &NotLessTilde Bad named entity: NotLessTilde without a semi-colon 13 B
001076 html5lib/namedEntities/0669 html5lib-tests ≴ Named entity: NotLessTilde; with a semi-colon 14 B
001077 html5lib/namedEntities/0670 html5lib-tests &NotNestedGreaterGreater Bad named entity: NotNestedGreaterGreater without a semi-colon 24 B
001078 html5lib/namedEntities/0671 html5lib-tests ⪢̸ Named entity: NotNestedGreaterGreater; with a semi-colon 25 B
001079 html5lib/namedEntities/0672 html5lib-tests &NotNestedLessLess Bad named entity: NotNestedLessLess without a semi-colon 18 B
001080 html5lib/namedEntities/0673 html5lib-tests ⪡̸ Named entity: NotNestedLessLess; with a semi-colon 19 B
001081 html5lib/namedEntities/0674 html5lib-tests &NotPrecedes Bad named entity: NotPrecedes without a semi-colon 12 B
001082 html5lib/namedEntities/0675 html5lib-tests ⊀ Named entity: NotPrecedes; with a semi-colon 13 B
001083 html5lib/namedEntities/0676 html5lib-tests &NotPrecedesEqual Bad named entity: NotPrecedesEqual without a semi-colon 17 B
001084 html5lib/namedEntities/0677 html5lib-tests ⪯̸ Named entity: NotPrecedesEqual; with a semi-colon 18 B
001085 html5lib/namedEntities/0678 html5lib-tests &NotPrecedesSlantEqual Bad named entity: NotPrecedesSlantEqual without a semi-colon 22 B
001086 html5lib/namedEntities/0679 html5lib-tests ⋠ Named entity: NotPrecedesSlantEqual; with a semi-colon 23 B
001087 html5lib/namedEntities/0680 html5lib-tests &NotReverseElement Bad named entity: NotReverseElement without a semi-colon 18 B
001088 html5lib/namedEntities/0681 html5lib-tests ∌ Named entity: NotReverseElement; with a semi-colon 19 B
001089 html5lib/namedEntities/0682 html5lib-tests &NotRightTriangle Bad named entity: NotRightTriangle without a semi-colon 17 B
001090 html5lib/namedEntities/0683 html5lib-tests ⋫ Named entity: NotRightTriangle; with a semi-colon 18 B
001091 html5lib/namedEntities/0684 html5lib-tests &NotRightTriangleBar Bad named entity: NotRightTriangleBar without a semi-colon 20 B
001092 html5lib/namedEntities/0685 html5lib-tests ⧐̸ Named entity: NotRightTriangleBar; with a semi-colon 21 B
001093 html5lib/namedEntities/0686 html5lib-tests &NotRightTriangleEqual Bad named entity: NotRightTriangleEqual without a semi-colon 22 B
001094 html5lib/namedEntities/0687 html5lib-tests ⋭ Named entity: NotRightTriangleEqual; with a semi-colon 23 B
001095 html5lib/namedEntities/0688 html5lib-tests &NotSquareSubset Bad named entity: NotSquareSubset without a semi-colon 16 B
001096 html5lib/namedEntities/0689 html5lib-tests ⊏̸ Named entity: NotSquareSubset; with a semi-colon 17 B
001097 html5lib/namedEntities/0690 html5lib-tests &NotSquareSubsetEqual Bad named entity: NotSquareSubsetEqual without a semi-colon 21 B
001098 html5lib/namedEntities/0691 html5lib-tests ⋢ Named entity: NotSquareSubsetEqual; with a semi-colon 22 B
001099 html5lib/namedEntities/0692 html5lib-tests &NotSquareSuperset Bad named entity: NotSquareSuperset without a semi-colon 18 B
001100 html5lib/namedEntities/0693 html5lib-tests ⊐̸ Named entity: NotSquareSuperset; with a semi-colon 19 B
001101 html5lib/namedEntities/0694 html5lib-tests &NotSquareSupersetEqual Bad named entity: NotSquareSupersetEqual without a semi-colon 23 B
001102 html5lib/namedEntities/0695 html5lib-tests ⋣ Named entity: NotSquareSupersetEqual; with a semi-colon 24 B
001103 html5lib/namedEntities/0696 html5lib-tests &NotSubset Bad named entity: NotSubset without a semi-colon 10 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.