diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-06-03 15:16:58 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-06-03 15:16:58 -0300 |
commit | 3ed9cdb3dbe97c28442e5eef1750d229eb788c4a (patch) | |
tree | 3762cfe3800bb2a85169487771016530f1297979 /src/util | |
parent | bfe08bc930c8b19bb440f668692acaf72d562be5 (diff) |
html: accept false (ala cond && tag) in isHTML
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/html.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |