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
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
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