From 3ed9cdb3dbe97c28442e5eef1750d229eb788c4a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 3 Jun 2023 15:16:58 -0300 Subject: html: accept false (ala cond && tag) in isHTML --- src/util/html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/html.js b/src/util/html.js index e2cbf776..b5930d06 100644 --- a/src/util/html.js +++ b/src/util/html.js @@ -73,7 +73,7 @@ export function isHTML(value) { return true; } - if (value === null || value === undefined) { + if (value === null || value === undefined || value === false) { return true; } -- cgit 1.3.0-6-gf8a5