There was an error while loading. Please reload this page.
1 parent 34a8c8e commit 4e5e4b8Copy full SHA for 4e5e4b8
1 file changed
src/util/renderHTMLContent.ts
@@ -1,7 +1,7 @@
1
import Render from '@/pages/Detailpage/Render';
2
import { REGEX_PARSE } from '@/types/constant';
3
import { NodeExtended } from '@/types/interface';
4
-import { parse } from 'node-html-parser';
+import parse from 'node-html-parser';
5
6
export const renderHTMLContent = (post: any) => {
7
const root = parse(post.html.replace(REGEX_PARSE, ''));
0 commit comments