Don't add extra newline after indented block

Only replace the newlines that were initially there.