(tag)
return False
Check if the tag is a block level HTML tag.
Check if the tag is a block level HTML tag.
Check if the tag is a block level HTML tag .
def isBlockLevel(tag):
    """Check if the tag is a block level HTML tag."""
    if isinstance(tag, basestring):
        return BLOCK_LEVEL_ELEMENTS.match(tag)
    # Some ElementTree tags are not strings, so return False.
    return False
def isBlockLevel ( tag ) : if isinstance ( tag , basestring ) : return BLOCK_LEVEL_ELEMENTS . match ( tag ) # Some ElementTree tags are not strings, so return False. return False