Upgrade dependencies (#849)

Reviewed-on: https://gitea.com/gitea/tea/pulls/849
This commit is contained in:
Lunny Xiao
2025-11-24 19:21:55 +00:00
parent 4877f181fb
commit 587b31503d
6 changed files with 113 additions and 101 deletions

View File

@@ -29,13 +29,13 @@ func outputMarkdown(markdown string, baseURL string) error {
glamour.WithWordWrap(getWordWrap()),
)
if err != nil {
fmt.Printf(markdown)
fmt.Print(markdown)
return err
}
out, err := renderer.Render(markdown)
if err != nil {
fmt.Printf(markdown)
fmt.Print(markdown)
return err
}
fmt.Print(out)