« get me outta code hell

html: accept false (ala cond && tag) in isHTML - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
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
commit3ed9cdb3dbe97c28442e5eef1750d229eb788c4a (patch)
tree3762cfe3800bb2a85169487771016530f1297979 /src/util
parentbfe08bc930c8b19bb440f668692acaf72d562be5 (diff)
html: accept false (ala cond && tag) in isHTML
Diffstat (limited to 'src/util')
-rw-r--r--src/util/html.js2
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;
   }