From a5ba2499c049b864f3be98db072167e262aa78df Mon Sep 17 00:00:00 2001 From: bikeshop45 <64974811+bikeshop45@users.noreply.github.com> Date: Mon, 8 May 2023 05:13:35 -0400 Subject: [PATCH] Fix attribute url links (#16462) --- src/common/entity/compute_attribute_display.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/entity/compute_attribute_display.ts b/src/common/entity/compute_attribute_display.ts index e43c662ba9..5fdfabe7a8 100644 --- a/src/common/entity/compute_attribute_display.ts +++ b/src/common/entity/compute_attribute_display.ts @@ -45,7 +45,7 @@ export const computeAttributeValueDisplay = ( // If invalid URL, exception will be raised const url = new URL(attributeValue); if (url.protocol === "http:" || url.protocol === "https:") - return html`${attributeValue}`; } catch (_) {