all repos — honk @ 5764e771bcdec0ea12a8e591a0dac71e096d3a16

my fork of honk

twitter archive escapes html entities in plain text...
Ted Unangst tedu@tedunangst.com
Tue, 12 Nov 2019 19:12:19 -0500
commit

5764e771bcdec0ea12a8e591a0dac71e096d3a16

parent

9bddacc82837e639716398a48037dceea5e4e074

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M import.goimport.go

@@ -18,6 +18,7 @@

import ( "encoding/json" "fmt" + "html" "io/ioutil" "log" "os"

@@ -102,6 +103,8 @@ Public: true,

Whofore: 2, } noise := t.Full_text + // unbelievable + noise = html.UnescapeString(noise) for _, r := range t.Entities.Urls { noise = strings.Replace(noise, r.Url, r.Expanded_url, -1) }