Skip empty lines when indenting blocks

A fix to prevent adding indentation spaces to empty lines.