aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2019-01-26 09:59:19 -0800
committerChristine Dodrill <me@christine.website>2019-01-26 09:59:19 -0800
commit70d8427761be27d022dbbe56537c978bca316c5d (patch)
tree50eb69225c4c0f0fc7a819d520c782100f728743
parent5ee9eda3aa9663bc57b24bf8d634a7706d13cd41 (diff)
downloadx-70d8427761be27d022dbbe56537c978bca316c5d.tar.xz
x-70d8427761be27d022dbbe56537c978bca316c5d.zip
links
-rw-r--r--mastodon/tptrans/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/tptrans/main.go b/mastodon/tptrans/main.go
index 5c93cb6..90f9740 100644
--- a/mastodon/tptrans/main.go
+++ b/mastodon/tptrans/main.go
@@ -72,7 +72,7 @@ func main() {
continue
}
- text, err := html2text.FromString(s.Content, html2text.Options{PrettyTables: true})
+ text, err := html2text.FromString(s.Content, html2text.Options{OmitLinks: true})
if err != nil {
ln.Error(ctx, err)
continue