use latest html2gemini API
This commit is contained in:
parent
fa5f0aac1b
commit
bd708e27c9
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user