Fix empty lines in code sections and image heights