@override String? buildElementHTML(Node element) { if (element is Element) { var html = element.outerHtml; return html; } else if (element is Text) { return element.text; } return null; }