docx2html/core.py
def get_text_run_content_data(r):
    """
    It turns out that r tags can contain both t tags and drawing tags. Since we
    need both, this function will return them in the order in which they are
    found.
    """
    w_namespace = get_namespace(r, 'w')
    valid_elements = (
        '%st' % w_namespace,
        '%sdrawing' % w_namespace,
        '%spict' % w_namespace,
        '%sbr' % w_namespace,
    )
    for el in r:
        if el.tag in valid_elements:
            yield el
def get_text_run_content_data(r):
    w_namespace = get_namespace(r, 'w')
    valid_elements = (
        '%st' % w_namespace,
        '%sdrawing' % w_namespace,
        '%spict' % w_namespace,
        '%sbr' % w_namespace,
    )
    for el in r:
        if el.tag in valid_elements:
            yield el
def get_text_run_content_data ( r ) : w_namespace = get_namespace ( r , 'w' ) valid_elements = ( '%st' % w_namespace , '%sdrawing' % w_namespace , '%spict' % w_namespace , '%sbr' % w_namespace , ) for el in r : if el . tag in valid_elements : yield el
It turns out that r tags can contain both t tags and drawing tags. Since we
    need both, this function will return them in the order in which they are
    found.
It turns out that r tags can contain both t tags and drawing tags . Since we need both this function will return them in the order in which they are found .