def postprocess_human_readable(human_readable: str) -> str:
    """Fix whitespace issues created by conditional template system.
    Specifically ``' ,'``, ``'  '`` and ``' .'``.
    """
    while '  ' in human_readable:
        human_readable = human_readable.replace('  ', ' ')
    human_readable = human_readable.replace(' ,', ',')
    human_readable = human_readable.replace(' .', '.')
    human_readable = human_readable.rstrip('. ')
    human_readable += '.'
    return human_readable