Trim :editor output and check if it's empty
#275
Merged
:editor output and check if it's empty
#275