From fa7a4d8320439c6395c39cb7109a01410f9615b7 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 15 Apr 2022 22:36:06 +0300 Subject: [PATCH] Fix BaseEntity.String() --- ui/messages/html/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/messages/html/base.go b/ui/messages/html/base.go index ad5c72c..16eb9fb 100644 --- a/ui/messages/html/base.go +++ b/ui/messages/html/base.go @@ -82,7 +82,7 @@ func (be *BaseEntity) PlainText() string { // String returns a textual representation of this BaseEntity struct. 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) }