def expand_format_text(hosts, text):
 return direct_format_text(expand_line(text, hosts))

def expand_format_text ( hosts , text ) : return direct_format_text ( expand_line ( text , hosts ) )
following redirects in links .