mirror of
https://gitea.com/gitea/tea.git
synced 2025-12-12 17:32:09 +01:00
Upgrade dependencies (#849)
Reviewed-on: https://gitea.com/gitea/tea/pulls/849
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user