Fix #1098
flake8
keep blank line in rest output
use content as argument
use content as argument
call new_post correctly
Merge pull request #1099 from getnikola/create_post_with_content

Fix #1098