mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 20:07:33 -07:00
Fix #1857
This commit is contained in:
parent
553c1747d4
commit
ab320c4ba9
1 changed files with 2 additions and 0 deletions
|
@ -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 = '';
|
||||
|
|
Loading…
Reference in a new issue