Remove ability to specify headers in the editor
Due to headers being essentially free text, we constantly run into issues with parts of the body being interpreted as headers. Remove the ability to overwrite headers to avoid that, while keeping the ability to specify headers in the template files. Fixes #383
This commit is contained in:
parent
3fa9ae3edb
commit
acf69b7490
3 changed files with 49 additions and 153 deletions
commands/account
|
@ -46,7 +46,7 @@ func (Compose) Execute(aerc *widgets.Aerc, args []string) error {
|
|||
}
|
||||
tab.Content.Invalidate()
|
||||
})
|
||||
go composer.PrependContents(strings.NewReader(body))
|
||||
go composer.AppendContents(strings.NewReader(body))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue