Remove trailing line break