We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 496a47c commit 8c7f3c5Copy full SHA for 8c7f3c5
Sources/SwiftHtml/Html/Tags/Th.swift
@@ -17,7 +17,7 @@
17
/// The text in `<td>` elements are regular and left-aligned by default.
18
public final class Th: Tag {
19
20
- public init(_ contents: String, @TagBuilder _ builder: () -> [Tag]) {
+ public init(_ contents: String? = nil, @TagBuilder _ builder: () -> [Tag]) {
21
super.init(Node(type: .standard, name: "th", contents: contents), children: builder())
22
}
23
0 commit comments