use latest html2gemini API
This commit is contained in:
parent
fa5f0aac1b
commit
bd708e27c9
@ -117,9 +117,9 @@ func main() {
|
|||||||
options.PrettyTablesOptions.ColumnSeparator = " "
|
options.PrettyTablesOptions.ColumnSeparator = " "
|
||||||
options.PrettyTablesOptions.RowSeparator = " "
|
options.PrettyTablesOptions.RowSeparator = " "
|
||||||
|
|
||||||
|
ctx := html2gemini.NewTraverseContext(*options)
|
||||||
|
|
||||||
|
text, err := html2gemini.FromString(inputHtml, *ctx)
|
||||||
text, err := html2gemini.FromString(inputHtml, *options)
|
|
||||||
|
|
||||||
check(err)
|
check(err)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user