From 9af5cd7a97c27206e38d6e50ca4d2d28e11f3261 Mon Sep 17 00:00:00 2001 From: Jevy Larano <32891190+jrlarano@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:08:07 +0800 Subject: [PATCH] Refactor HTMLView --- 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; });