translate escaped characters in tweet back
This commit is contained in:
parent
0afa5f9933
commit
2c11d2102c
|
@ -6,6 +6,7 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"git.gutmet.org/goutil.git"
|
||||
"html"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
@ -542,7 +543,7 @@ func (m Status) String() string {
|
|||
if replyTo := m.InReplyTo(); replyTo != "" {
|
||||
s += " in reply to " + replyTo
|
||||
}
|
||||
s += ":\n" + m.Full_text
|
||||
s += ":\n" + html.UnescapeString(m.Full_text)
|
||||
allMedia := m.Extended_entities.Media
|
||||
if len(allMedia) > 0 {
|
||||
s += "\n\nMedia:"
|
||||
|
|
Loading…
Reference in New Issue
Block a user