@override String? getElementOuterHTML(Node? element) { if (element is Element) { return element.outerHtml; } else { return element!.text; } }