Make NewCommonAttributes public

This commit is contained in:
2024-10-20 15:59:46 +02:00
parent 8fc6a10b0d
commit d8d0526a05
18 changed files with 18 additions and 18 deletions

View File

@@ -17,7 +17,7 @@ type Generator struct {
// NewGenerator creates a new Generator. It returns a *Generator.
func NewGenerator(text string) *Generator {
return &Generator{
CommonAttributes: newCommonAttributes(),
CommonAttributes: NewCommonAttributes(),
Text: html.UnescapeString(text),
}
}