(self, text_node_)
return self._looks_like_markdown(old_trans) and not self._had_markdown(text_node_)
Return True if the value looks like Markdown but there is no
        Markdown node. It means the user has explicitly told form
        builder that the value isn't Markdown.
Return True if the value looks like Markdown but there is no
        Markdown node. It means the user has explicitly told form
        builder that the value isn't Markdown.
Return True if the value looks like Markdown but there is no Markdown node . It means the user has explicitly told form builder that the value isn t Markdown .
def _is_markdown_vetoed(self, text_node_):
        """
        Return True if the value looks like Markdown but there is no
        Markdown node. It means the user has explicitly told form
        builder that the value isn't Markdown.
        """
        value_node_ = self._get_value_node(text_node_)
        if not value_node_.exists():
            return False
        old_trans = etree.tostring(
            value_node_.xml, method="text", encoding='utf-8'
        ).decode('utf-8').strip()
        return self._looks_like_markdown(old_trans) and not self._had_markdown(text_node_)
def _is_markdown_vetoed ( self , text_node_ ) : value_node_ = self . _get_value_node ( text_node_ ) if not value_node_ . exists ( ) : return False old_trans = etree . tostring ( value_node_ . xml , method = "text" , encoding = 'utf-8' ) . decode ( 'utf-8' ) . strip ( ) return self . _looks_like_markdown ( old_trans ) and not self . _had_markdown ( text_node_ )