mirror of
https://gitlab.melroy.org/melroy/fediresolve.git
synced 2025-07-23 04:58:54 +00:00
Small doc improvement
This commit is contained in:
parent
4a2a9c7cdf
commit
86363c1dae
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue