From 773943e044355bec97aa78288db3f707607152ed Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 6 Dec 2020 18:40:25 +0100 Subject: [PATCH] web: fix htmlFromString not working --- web/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/utils.ts b/web/src/utils.ts index 8c6631287..e3a651f91 100644 --- a/web/src/utils.ts +++ b/web/src/utils.ts @@ -33,7 +33,7 @@ export function truncate(input?: string, max = 10): string { } export function htmlFromString(...strings: string[]): TemplateResult { - return html({ raw: strings, ...strings } as TemplateStringsArray); + return html(strings); } export function loading(v: T, actual: TemplateResult): TemplateResult {