Small doc improvement

This commit is contained in:
Melroy van den Berg 2025-04-24 17:24:02 +02:00
parent 4a2a9c7cdf
commit 86363c1dae
No known key found for this signature in database
GPG key ID: 71D11FF23454B9D7

View file

@ -113,7 +113,7 @@ func formatActor(jsonStr string, parts []string, bold, cyan, green, red, yellow
return parts
}
// formatContent formats content-type objects (Note, Article, etc.)
// formatContent formats content-type objects (Note, Article, Page, etc.)
func formatContent(jsonStr string, parts []string, bold, green, yellow func(a ...interface{}) string) []string {
if content := gjson.Get(jsonStr, "content").String(); content != "" {
md := htmlToMarkdown(content)