Make comments more useful
This commit is contained in:
@@ -13,7 +13,8 @@ type XHTMLText struct {
|
||||
// isText checks whether the XHTMLText is a Text. It returns a bool.
|
||||
func (x *XHTMLText) isText() bool { return true }
|
||||
|
||||
// newPlainText creates a new PlainText. It returns a *PlainText.
|
||||
// newPlainText creates a new PlainText. It takes in the strings textType and
|
||||
// content and returns a *PlainText.
|
||||
func newXHTMLText(textType, content string) *XHTMLText {
|
||||
return &XHTMLText{
|
||||
CommonAttributes: NewCommonAttributes(),
|
||||
|
Reference in New Issue
Block a user