dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
融云
aijinhui
2023-12-25
fbc6fc4e835c0249f8d5aaaec71e99d1817f08dd
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
posthtml-parser
/
node_modules
/
domutils
/
test
/
utils.js
1
2
3
4
5
6
7
8
9
var htmlparser = require("htmlparser2");
exports.makeDom = function(markup) {
var handler = new htmlparser.DomHandler(),
parser = new htmlparser.Parser(handler);
parser.write(markup);
parser.done();
return handler.dom;
};