Make NewCommonAttributes public
This commit is contained in:
@@ -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),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user