equal
deleted
inserted
replaced
38 # anything looks like text -> markdown |
38 # anything looks like text -> markdown |
39 elif mime_type in ['text/plain', |
39 elif mime_type in ['text/plain', |
40 'text/english', |
40 'text/english', |
41 'text/enriched' |
41 'text/enriched' |
42 ]: |
42 ]: |
43 converted_input = input |
43 converted_input = to_unicode(input) |
44 |
44 |
45 ############################## |
45 ############################## |
46 # anything looks like code: put them into markdown citation |
46 # anything looks like code: put them into markdown citation |
47 elif mime_type.startswith('text/x-') or mime_type in ['application/x-latex', |
47 elif mime_type.startswith('text/x-') or mime_type in ['application/x-latex', |
48 'application/x-ruby', |
48 'application/x-ruby', |