def get_quoted_text(text):
    """Method used to get quoted text.
    If body/title text contains a quote, the first quote is considered as the text.

    :param text: The replyable text
    :return: The first quote in the text. If no quotes are found, then the entire text is returned
    """
    lines = text.split('\n\n')
    for line in lines:
        if line.startswith('>'):
            return line[1:]
    return text