If final text character is space, ignore it and append line as is.