diff --git a/packages/geo/src/lib/feature/feature-details/feature-details.component.ts b/packages/geo/src/lib/feature/feature-details/feature-details.component.ts index 17288ee94f..fbe7d7a19a 100644 --- a/packages/geo/src/lib/feature/feature-details/feature-details.component.ts +++ b/packages/geo/src/lib/feature/feature-details/feature-details.component.ts @@ -200,8 +200,9 @@ export class FeatureDetailsComponent implements OnInit, OnDestroy { } getEmbeddedLinkText(value) { - const regex = /(?<=>).*?(?=<|$)/; - const text = value.match(regex)[0]; + const regex = /(?:>).*?(?=<|$)/; + let text = value.match(regex)[0] as string; + text = text.replace(/>/g, ''); return text; }