This commit is contained in:
syuilo 2018-07-07 12:50:09 +09:00
parent ae8a87c40b
commit 5ea0f23389
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
const parse5 = require('parse5');
export default function(html: string): string {
if (html == null) return null;
const dom = parse5.parseFragment(html);
let text = '';