Exemplo n.º 1
0
    def _prepare_markup(self, markup, is_plus=True):
        if is_plus:
            text = Plus.msnplus_parse(markup)
        else:
            text = Plus.msnplus_strip(markup)

        text = MarkupParser.replace_markup(text)
        text_list = MarkupParser.replace_emoticons(text)
        return text_list
Exemplo n.º 2
0
    def _prepare_markup(self, markup, is_plus=True):
        if is_plus:
            text = Plus.msnplus_parse(markup)
        else:
            text = Plus.msnplus_strip(markup)

        text = MarkupParser.replace_markup(text)
        text_list = MarkupParser.replace_emoticons(text)
        return text_list
Exemplo n.º 3
0
def msnplus_to_list(text, plus=True):
    '''parse text and return a list of strings and gtk.gdk.Pixbufs'''
    text = plus_text_parse(text, plus)
    text = MarkupParser.replace_markup(text)
    text_list = MarkupParser.replace_emoticons(text)
    return text_list
Exemplo n.º 4
0
def msnplus_to_list(text, plus=True):
    '''parse text and return a list of strings and gtk.gdk.Pixbufs'''
    text = plus_text_parse(text, plus)
    text = MarkupParser.replace_markup(text)
    text_list = MarkupParser.replace_emoticons(text)
    return text_list
Exemplo n.º 5
0
def msnplus_to_list(text):
    """parse text and return a list of strings and gtk.gdk.Pixbufs"""
    text = plus_text_parse(text)
    text = MarkupParser.replace_markup(text)
    text_list = MarkupParser.replace_emoticons(text)
    return text_list