(self, text)
return util.INLINE_PLACEHOLDER_RE.sub(get_stash, text)
Return unescaped text given text with an inline placeholder.
Return unescaped text given text with an inline placeholder.
Return unescaped text given text with an inline placeholder .
def unescape(self, text):
        """ Return unescaped text given text with an inline placeholder. """
        try:
            stash = self.markdown.treeprocessors['inline'].stashed_nodes
        except KeyError:
            return text
        def get_stash(m):
            id = m.group(1)
            value = stash.get(id)
            if value is not None:
                try:
                    return self.markdown.serializer(value)
                except:
                    return '\%s' % value
            
        return util.INLINE_PLACEHOLDER_RE.sub(get_stash, text)
def unescape ( self , text ) : try : stash = self . markdown . treeprocessors [ 'inline' ] . stashed_nodes except KeyError : return text def get_stash ( m ) : id = m . group ( 1 ) value = stash . get ( id ) if value is not None : try : return self . markdown . serializer ( value ) except : return '\%s' % value return util . INLINE_PLACEHOLDER_RE . sub ( get_stash , text )