import re


def strip_markdown(s):
    """
    Strip some common markdown out of
    the description, for the cases where the
    description is taken from the first paragraph
    of the text.
    """
    s = re.sub("[\\[\\]]", "", s)
    s = re.sub("\(.*\)", "", s)
    return s