def output_emoji(self, m):
        emoji = m.group('emoji')

        if emoji not in emojis:
            return m.group(0)

        name_raw = emoji
        name_class = emoji.replace('_', '-').replace('+', 'plus')
        return self.renderer.emoji(name_class=name_class, name_raw=name_raw)
dataset/ETHPy150Open nitely/Spirit/spirit/core/utils/markdown/inline.py/InlineLexer.output_emoji/original