diff --git a/packages/pl-fe/src/components/parsed-content.tsx b/packages/pl-fe/src/components/parsed-content.tsx index a6b9af0b8..cea3d34be 100644 --- a/packages/pl-fe/src/components/parsed-content.tsx +++ b/packages/pl-fe/src/components/parsed-content.tsx @@ -29,7 +29,7 @@ const isHostNotVisible = (href: string, nodes: Array): false | string = host = host.replace(/^www\./, ''); const text = nodesToText(nodes).trim(); - if (new RegExp(`^(https?://)?(www.)?${host}(/|$)`).test(text)) { + if (new RegExp(`^(https?://)?(www.)?${host}(/|$)`, 'i').test(text)) { return false; } else { return host;