@apply_to_text_file
def typogrify_oldschool(data):
 if (typo is None):
  req_missing(['typogrify'], 'use the typogrify_oldschool filter', optional=True)
  return data
 data = _normalize_html(data)
 data = typo.amp(data)
 data = typo.widont(data)
 data = _smarty_oldschool(data)
 data = typo.smartypants(data)
 data = typo.initial_quotes(data)
 return data

@ apply_to_text_file def typogrify_oldschool ( data ) : if ( typo is None ) : req_missing ( [ 'typogrify' ] , 'use the typogrify_oldschool filter' , optional = True ) return data data = _normalize_html ( data ) data = typo . amp ( data ) data = typo . widont ( data ) data = _smarty_oldschool ( data ) data = typo . smartypants ( data ) data = typo . initial_quotes ( data ) return data
prettify text with typogrify .