Skip to content

Commit

Permalink
empty group hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tib committed Nov 20, 2021
1 parent e2a937e commit ce918b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftHtml/Components/TagBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public enum TagBuilder {
}

public static func buildBlock(_ components: [Tag]...) -> Tag {
Tag(.init(type: .empty), children: components.flatMap { $0 })
Tag(.init(type: .group), children: components.flatMap { $0 })
}

public static func buildExpression(_ expression: Tag) -> [Tag] {
Expand Down

0 comments on commit ce918b8

Please sign in to comment.