laurencedawson / sync-for-reddit

New and improved issue tracker for the app Sync for Reddit
191 stars 3 forks source link

[BUG] Image link in comment missing embed and URL preview #1691

Open geominorai opened 1 year ago

geominorai commented 1 year ago

Describe the bug

Some image links are clickable but do not embeds or show the URL.

Steps to Reproduce

  1. Go to https://www.reddit.com/r/AskReddit/comments/10vbnpn/what_are_things_that_we_have_today_due_to_religion/j7gw9v6/
  2. See error.

Expected behavior

The second link should show an image and URL preview like the first.

Screenshots

Smartphone:

Additional context

This issue also applies to DeviantArt links. See the selftext at https://www.reddit.com/r/photography/comments/wrsuk/_/

But DeviantArt links may be handled incorrectly in general and assumed to be images even with artist page links: https://www.reddit.com/r/IAmA/comments/1mec32

geominorai commented 1 year ago

Another example: https://www.reddit.com/r/anime/comments/11d38io/is_this_levi_spoilers_for_attack_on_titan_season_3/ja72yi2/