[X]
I’m using stock docker compose setup, unmodified.[ ]
I’m using docker compose setup, with modifications (modified.yml
files, third party plugins/themes, etc.) - if so, describe your modifications in your post. Before reporting, see if your issue can be reproduced on the unmodified setup.[ ]
I’m not using docker on my primary instance, but my issue can be reproduced on the aforementioned docker setup and/or official demo.
Unfortunately I’m not sure which version of TT-RSS I upgraded from, which could make this rather miserable. I can tell you it came from the old git docker-compose.yml, instead of the newer, static file/method and hadn’t been updated since before that point. Postgres was still on 12.
I have a bunch of feeds from cohost.org. I switched my docker-compose.yml to the new format on the wiki and upgraded to v23.12-14ad8b21 last night/today. Afterward, I noticed that all cohost feeds weren’t displaying images.
I checked the network tab in Firefox and Chrome and found that the images were not being sent in the content block to TT-RSS, nor were the figure tags that they’re enclosed in. They also do not appear in the Android app. I checked in ttrss_entries and determined that the HTML is present in the database. With a bit of a struggle, I tried to track down what might be causing the trouble, but could not find the exact culprit.
Cohost places images inside of a block. Their usage is basic and appears to be valid HTML, as far as I can tell. A random sample feed can be found at: silas of trees Their entry titles suck a bit, but at the moment the second entry (“last day to submit for the Great SNAKE FARM Speedrunning Contest!”) contains an image that should be displayed and is not.
Sanitizer.php @ line 158 indicates that figure elements should be allowed by TT-RSS.
hide_images is false in the request, strip images is false in preferences, the feeds aren’t set to hide images, and I duplicated the issue with the demo instance. I checked with Safe Mode to make sure that TT-RSS plugins weren’t affecting, and tried in Microsoft Edge with uBlock Origin disabled.
Cohost has issues with invalid characters in the feed tags, so I had previously slapped together a script to run them through that sanitizes those tags. Bad behavior, I know, but I contacted them to try to fix it first. When I used preg_replace to remove and , the images returned. I also checked the feeds without sanitizing and on the demo instance.
I’m like 85% certain this all adds up to something going wrong with TT-RSS rendering the entry or stripping elements, but admit that I may be completely wrong because I can’t find the problem. If I missed something completely obvious, I apologize.