Fix #1857
This commit is contained in:
@ -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 = '';
|
||||
|
Reference in New Issue
Block a user