updated API preview examples

This commit is contained in:
Gani Georgiev
2023-11-26 14:59:14 +02:00
parent 531a7abec9
commit 3f2e38ca82
35 changed files with 195 additions and 152 deletions
+2
View File
@@ -91,6 +91,7 @@ func html2Text(htmlDocument string) (string, error) {
if linkTxt == "" {
linkTxt = "LINK"
}
builder.WriteString("[")
builder.WriteString(linkTxt)
builder.WriteString("]")
@@ -106,6 +107,7 @@ func html2Text(htmlDocument string) (string, error) {
break
}
}
activeBuilder.Reset()
}
}