(style)
return emphasis
return a list of all emphasis modifiers of the element
return a list of all emphasis modifiers of the element
return a list of all emphasis modifiers of the element
def google_text_emphasis(style):
    """return a list of all emphasis modifiers of the element"""
    emphasis = []
    if 'text-decoration' in style:
        emphasis.append(style['text-decoration'])
    if 'font-style' in style:
        emphasis.append(style['font-style'])
    if 'font-weight' in style:
        emphasis.append(style['font-weight'])
    return emphasis
def google_text_emphasis ( style ) : emphasis = [ ] if 'text-decoration' in style : emphasis . append ( style [ 'text-decoration' ] ) if 'font-style' in style : emphasis . append ( style [ 'font-style' ] ) if 'font-weight' in style : emphasis . append ( style [ 'font-weight' ] ) return emphasis