diff options
author | Tulir Asokan <tulir@maunium.net> | 2019-05-12 17:34:47 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2019-05-12 17:34:47 +0300 |
commit | 4bcdcd1ccd1d616d29614e5eaf8bfb1df679aa6d (patch) | |
tree | 0b8eb608ea4d592ea2a1ab06ba77254e75dd0148 /ui/messages/htmlmessage.go | |
parent | bedbc3d10a87146bba4cc37c356068ef8849a496 (diff) |
Fix go 1.11 and go get compatibility
Diffstat (limited to 'ui/messages/htmlmessage.go')
-rw-r--r-- | ui/messages/htmlmessage.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/messages/htmlmessage.go b/ui/messages/htmlmessage.go index 9777303..30b1588 100644 --- a/ui/messages/htmlmessage.go +++ b/ui/messages/htmlmessage.go @@ -106,5 +106,5 @@ func (hw *HTMLMessage) String() string { return fmt.Sprintf("&messages.HTMLMessage{\n" + " Base=%s,\n" + " Root=||\n%s\n" + - "}", strings.ReplaceAll(hw.BaseMessage.String(), "\n", "\n "), hw.Root.String()) + "}", strings.Replace(hw.BaseMessage.String(), "\n", "\n ", -1), hw.Root.String()) } |