import re


def remove_newline_whitespace(text):
    """Some descriptions have newline characters followed by excess whitespace (eg: '\n    ').
    This removes that whitespace"""
    p = re.compile(r'\n +')
    return p.sub(r'\n', text)