import re


def cleanup_text(chunk):
    """
    Remove HTML tags form text lines.

    Args:
        chunk (str) - extracted abstract text chunk with potential HTML
        to be removed

    Returns newline-separated abstract lines with HTML tags removed.
    """
    lines = re.split("\n", chunk)
    clean_lines = list()
    for line in lines:
        # strip HTML tags
        line = re.sub("<.*?>", "", line)
        clean_lines.append(line.strip())
    return "\n".join(clean_lines)