我正在尝试创建一个函数来删除不在白名单中的html标签和属性。我有以下HTML:firsttextsecondtextheresometextheresometextheresometwxthere我正在使用HTML敏捷包,目前我拥有的代码是:staticListWhiteNodeList=newList{"b"};staticListWhiteAttrList=newList{};staticHtmlNodehtmlNode;publicstaticvoidRemoveNotInWhiteList(outstring_output,HtmlNodepNode,ListpWhiteLi