diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/html.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/html.js b/src/util/html.js index f1511d9d..19a7d126 100644 --- a/src/util/html.js +++ b/src/util/html.js @@ -177,8 +177,8 @@ export function tag(tagName, ...args) { return new Tag(tagName, attributes, content); } -export function tags(content) { - return new Tag(null, null, content); +export function tags(content, attributes = null) { + return new Tag(null, attributes, content); } export class Tag { |