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 0e03afb commit 2899ea2Copy full SHA for 2899ea2
modules/htmlutil/html.go
@@ -33,7 +33,7 @@ func ParseSizeAndClass(defaultSize int, defaultClass string, others ...any) (int
33
34
func HTMLFormat(s template.HTML, rawArgs ...any) template.HTML {
35
if !strings.Contains(string(s), "%") || len(rawArgs) == 0 {
36
- panic("HTMLFormat requires at least one argument, don't abuse it")
+ panic("HTMLFormat requires one or more arguments")
37
}
38
args := slices.Clone(rawArgs)
39
for i, v := range args {
0 commit comments