From 3c92c525eb44ede0fe51f5d580c1666327d46107 Mon Sep 17 00:00:00 2001 From: Gabriel Oliveira Date: Wed, 18 Dec 2024 18:32:06 +0000 Subject: [PATCH] fix: unescape input type values --- .../public/javascripts/countly/vue/components/content.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/express/public/javascripts/countly/vue/components/content.js b/frontend/express/public/javascripts/countly/vue/components/content.js index 8efb7818c14..013cc5ef045 100644 --- a/frontend/express/public/javascripts/countly/vue/components/content.js +++ b/frontend/express/public/javascripts/countly/vue/components/content.js @@ -428,6 +428,10 @@ return !!this.value; } + if (this.type === COUNTLY_CONTENT_SIDEBAR_INPUT_COMPONENT_BY_TYPE_INPUT) { + return countlyCommon.unescapeHtml(this.value) || ''; + } + return this.value || null; }, set(newValue) {