parse5.parseFragment(content)
atian25 opened this issue · comments
TZ | 天猪 commented
https://github.com/ccqgithub/fis3-parser-vue-component/blob/master/index.js#L23
这里应该修改为 var fragment = parse5.parseFragment(content.toString()
Season Chen commented
不用,content本身就是string,参考其他parser插件……
Season Chen commented
content
TZ | 天猪 commented
应该是之前我没加 isJsLike 导致 fis 没识别为 text file,所以传过去的是 buffer。