Correctly display reddit.com/media images #1679
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Handle reddit.com/media images with the native image viewer. The actual image url is stored in the url's
url
parameter, this change extracts the actual image's url.A previous commit 382f3e8 tried to address this by opening the image in the browser.
Fixes #1636, here is the image from that issue's comment: https://www.reddit.com/r/HFY/comments/18ljist/dungeon_life_179/kdylz6q/