From bd708e27c9f5bb00d4b520fa24ae7163cc3b8bb8 Mon Sep 17 00:00:00 2001 From: Luke Emmet Date: Sun, 30 Aug 2020 21:39:29 +0100 Subject: [PATCH] use latest html2gemini API --- html2gmi.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html2gmi.go b/html2gmi.go index e358bcb..ad30cca 100644 --- a/html2gmi.go +++ b/html2gmi.go @@ -116,10 +116,10 @@ func main() { options.PrettyTablesOptions.CenterSeparator = " " options.PrettyTablesOptions.ColumnSeparator = " " options.PrettyTablesOptions.RowSeparator = " " - + ctx := html2gemini.NewTraverseContext(*options) - text, err := html2gemini.FromString(inputHtml, *options) + text, err := html2gemini.FromString(inputHtml, *ctx) check(err)