diff --git a/packages/pl-fe/src/components/parsed-content.tsx b/packages/pl-fe/src/components/parsed-content.tsx index eca2dd960..3c42ca860 100644 --- a/packages/pl-fe/src/components/parsed-content.tsx +++ b/packages/pl-fe/src/components/parsed-content.tsx @@ -226,39 +226,11 @@ function parseContent({ domNode.greentext = true; } - // let href = domNode.attribs.href; - - // if (cleanUrls) { - // try { - // href = Purify.clearUrl(href, cleanUrls, redirectUrls); - // } catch (_) { - // // - // } - // } - - // const host = displayTargetHost && isHostNotVisible(href, domNode.children as Array); - const fallback = ( ).trim()}> {domToReact(domNode.children as Array, options)} ); - // ( - // // eslint-disable-next-line jsx-a11y/no-static-element-interactions - // e.stopPropagation()} - // rel='nofollow noopener noreferrer' - // target='_blank' - // title={domNode.attribs.href} - // > - // {domToReact(domNode.children as Array, options)} - // {host && ( - // {' '}[{host}] - // )} - // - // ); if (classes?.includes('mention')) { if (mentions) {