hunk.code_window: 		c.SetPermissionError(model.PERMISSION_EDIT_POST)
   		return
   	}
   	if !c.App.SessionHasPermissionToPost(c.Session, c.Params.PostId, model.PERMISSION_EDIT_OTHERS_POSTS) {
   		c.SetPermissionError(model.PERMISSION_EDIT_OTHERS_POSTS)
   		return
   	}
  
hunk.labels: keep keep keep keep replace replace keep keep keep
hunk.after_edit: 	originalPost, err := c.App.GetSinglePost(c.Params.PostId)
   	if err != nil {
   		c.SetPermissionError(model.PERMISSION_EDIT_POST)
  
hunk.file_path: api4/post.go
hunk.type: replace
file: # quotedprintable
  
  ## Introduction
  
  Package quotedprintable implements quoted-printable and message header encoding
  as specified by RFC 2045 and RFC 2047.
  
  It is a copy of the Go 1.5 package `mime/quotedprintable`. It also includes
  the new functions of package `mime` concerning RFC 2047.
  
  This code has minor changes with the standard library code in order to work
  with Go 1.0 and newer. 
  
  ## Documentation
  
  https://godoc.org/gopkg.in/alexcesaro/quotedprintable.v3
  