mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-27 22:38:30 +09:00
Fix 'URL is not defined' in MFM (#2782)
This commit is contained in:
parent
77b441f14c
commit
d5818214f3
@ -1,4 +1,5 @@
|
||||
const parse5 = require('parse5');
|
||||
import { URL } from 'url';
|
||||
|
||||
export default function(html: string): string {
|
||||
if (html == null) return null;
|
||||
|
Loading…
Reference in New Issue
Block a user