Fix BaseEntity.String()
This commit is contained in:
parent
6414b8bd13
commit
fa7a4d8320
@ -82,7 +82,7 @@ func (be *BaseEntity) PlainText() string {
|
|||||||
|
|
||||||
// String returns a textual representation of this BaseEntity struct.
|
// String returns a textual representation of this BaseEntity struct.
|
||||||
func (be *BaseEntity) String() string {
|
func (be *BaseEntity) String() string {
|
||||||
return fmt.Sprintf(`&html.BaseEntity{Tag="%s", Style=%d, Block=%t, startX=%d, height=%d}`,
|
return fmt.Sprintf(`&html.BaseEntity{Tag="%s", Style=%#v, Block=%t, startX=%d, height=%d}`,
|
||||||
be.Tag, be.Style, be.Block, be.startX, be.height)
|
be.Tag, be.Style, be.Block, be.startX, be.height)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user