mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Don't bother showing 'Download Image' enclosure links. Just embed them.
This commit is contained in:
parent
89002d9bc6
commit
b2977b73c5
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ def pre_process_story(entry):
|
|||
}
|
||||
elif 'image' in media_type and media_url:
|
||||
entry['story_content'] += """<br><br><img src="%s" />""" % media_url
|
||||
continue
|
||||
elif media_content.get('rel') == 'alternative' or 'text' in media_content.get('type'):
|
||||
continue
|
||||
elif media_type_name in ['application']:
|
||||
|
|
Loading…
Add table
Reference in a new issue