console.log("dddd", 1111) const parse5 = require('parse5'); // 解析 HTML 字符串 const document = parse5.parse('<!DOCTYPE html><html><head></head><body>Hi there!</body></html>'); // 序列化文档 const html = parse5.serialize(document); console.log(html);