use latest html2gemini API

This commit is contained in:
Luke Emmet 2020-08-30 21:39:29 +01:00
parent fa5f0aac1b
commit bd708e27c9

View File

@ -117,9 +117,9 @@ func main() {
options.PrettyTablesOptions.ColumnSeparator = " "
options.PrettyTablesOptions.RowSeparator = " "
ctx := html2gemini.NewTraverseContext(*options)
text, err := html2gemini.FromString(inputHtml, *options)
text, err := html2gemini.FromString(inputHtml, *ctx)
check(err)