From 17f1220718f0e736723108042fc00cd5cb90070d Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 5 Apr 2023 15:41:38 -0300 Subject: html: standard blank() function For now this just returns an empty array, but if we need to make changes later, it won't require editing all instances of blank content! --- test/unit/util/html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit') diff --git a/test/unit/util/html.js b/test/unit/util/html.js index c26d53b2..9925d2da 100644 --- a/test/unit/util/html.js +++ b/test/unit/util/html.js @@ -29,7 +29,7 @@ t.test(`html.tag`, t => { let genericSlot; const genericTemplate = html.template(slot => { genericSlot = slot('title'); - return []; + return html.blank(); }); // 9-10: tag treated as content, not attributes -- cgit 1.3.0-6-gf8a5