Fix #15: Strip the whitespace off of padding lines before adding newlines.