Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' of https://github.com/go-gitea/gitea into refacto…
…r-sanitize
  • Loading branch information
KN4CK3R committed Nov 15, 2021
commit 88a48a5b5f2cb609099e42af3ff086468b23d660
2 changes: 1 addition & 1 deletion modules/markup/markdown/markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func actualRender(ctx *markup.RenderContext, input io.Reader, output io.Writer)

// FIXME: Don't read all to memory, but goldmark doesn't support
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cliff hanger here, reading it for the first time doesn't immediately hint me what goldmark doesn't support.

pc := newParserContext(ctx)
buf, err := ioutil.ReadAll(input)
buf, err := io.ReadAll(input)
if err != nil {
log.Error("Unable to ReadAll: %v", err)
return err
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.