def run (self, text):
        while  1:
            m = FOREIGN_FORMAT_BLOCK_REGEX.search(text)
            if not m: break;
            format = m.group('format').lower()
            txt = m.group('txt')
            if FORMATTERS.has_key(format):
                func = FORMATTERS[format]
                txt = func(txt)
            placeholder = self.md.htmlStash.store(txt, safe=True)
            text = (text[:m.start()], placeholder, text[m.end():])% '%s\n%s\n%s'
        return text
dataset/ETHPy150Open lethain/lifeflow/markdown/mdx_foreign_formats.py/ForeignFormatsBlockPreprocessor.run/swapped operands of `%`