File size: 144 Bytes
1e92f2d
 
 
 
 
1
2
3
4
5
6
import { DOMParser } from '@xmldom/xmldom';

export default (html: string) => {
  return new DOMParser().parseFromString(html, 'text/html');
};