Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: posted comment with image tags grows infinitely long when rendered. #1082

Open
1 task done
inb4ohnoes opened this issue Nov 23, 2023 · 1 comment
Open
1 task done
Labels
bug Something isn't working or working properly triage report needs triaging

Comments

@inb4ohnoes
Copy link

inb4ohnoes commented Nov 23, 2023

Check for open issues

  • I have verified that another issue for this is not open, or it has been closed and has not been fixed.

Minimal reproducible example

I posted a comment (below) with image tags, and after I posted it, the actual rendered comment in the thread grows infinitely long and eventually crashes the app. The comment is https://lemmy.world/comment/5525169 and seems to render correctly on the web, but not in the app. I’m posting the markdown of the comment itself below:

———

Last time I went back to Taiwan, I made sure to seek out Engrish shirts at one of those clothing markets. Here are a few I found.

a shirt with a picture of a woman printed on it. The english text on the shirt says "Laundry Room ~loads of fun"

a shirt with "orlifornir" printed on it. its clearly meant to say "california"

a shirt with text on it. the text says "clothing" then a bunch of random letters.

Bonus signage picture

a picture of signage in the window of a cafe that says "bread (new line) is the staff of life". its clearly meant to say "staff" instead

Expected Behavior

The rendered posted comment does not grow to become infinitely long and then crash the app

Version

1.1.4.95

App Store or TestFlight?

TestFlight

iOS Version

17.x

Device

iPhone 15 Pro

@inb4ohnoes inb4ohnoes added bug Something isn't working or working properly triage report needs triaging labels Nov 23, 2023
@mratzloff
Copy link

mratzloff commented Dec 14, 2023

This breaks the app entirely. I run into it regularly.

One image works fine. Two images cause the post to scroll infinitely (with large gaps between images). If you somehow reach the bottom, it will seem to resist and auto-scroll you up. The entire app slows to a crawl and will hang if you switch to another tab.

The same is true for any article copied and pasted as Markdown that contains more than one image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working or working properly triage report needs triaging
Projects
None yet
Development

No branches or pull requests

2 participants