(value)
return Markup(text_type(value)).striptags()
Strip SGML/XML tags and replace adjacent whitespace by one space.
Strip SGML/XML tags and replace adjacent whitespace by one space.
Strip SGML / XML tags and replace adjacent whitespace by one space .
def do_striptags(value):
    """Strip SGML/XML tags and replace adjacent whitespace by one space.
    """
    if hasattr(value, '__html__'):
        value = value.__html__()
    return Markup(text_type(value)).striptags()
def do_striptags ( value ) : if hasattr ( value , '__html__' ) : value = value . __html__ ( ) return Markup ( text_type ( value ) ) . striptags ( )