diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/html.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/html.js b/src/util/html.js index 6efedb31..73e08854 100644 --- a/src/util/html.js +++ b/src/util/html.js @@ -1713,6 +1713,10 @@ export class Template { if (providedValue instanceof Tag || providedValue instanceof Template) { return providedValue.toString(); } + + if (isBlank(providedValue)) { + return null; + } } if (providedValue !== null) { |