add test for empty lines in code blocks
correctly generate empty lines in code blocks
remove spaces before/after curlies