From fa05f75493d8e803129017f50404f4986a2c3db2 Mon Sep 17 00:00:00 2001 From: Jevy Larano <32891190+jrlarano@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:55:09 +0800 Subject: [PATCH] Refactor HTMLView (#262) --- lib/incito-browser/incito.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/incito-browser/incito.ts b/lib/incito-browser/incito.ts index 378dab9c..3ac0f209 100644 --- a/lib/incito-browser/incito.ts +++ b/lib/incito-browser/incito.ts @@ -316,7 +316,7 @@ function renderView(view, canLazyload: boolean) { .trim() .split(';') .forEach((style) => { - const {0: key, 1: value} = style.trim().split(':'); + const {0: key, 1: value} = style.trim().split(/:(.+)/); styles[key] = value; });