Interesting discovery for sure. I'm specifically using strip_tags() currently but decided to just try swapping htmlspecialchars() in which does fix the submission you linked. The problem is that it then breaks instances where potentially formatted text is displayed without formatting by displaying the HTML instead of just removing the tags. That's not the end of the world and I'm content to leave it for now but definitely keep an eye out for any odd display issues.
That was because I forgot to take out the explicit search for & which I was replacing with & manually. That replacement was running first and then htmlspecialchars() was replacing the & in & with another &.
Thanks for pointing that out! Should be good now.
Posts: 174
Threads: 7
Joined: Nov 2018
We could do with some sort of limit on the resolution of sheets to avoid devices running out of memory. Currently in the Discord chat two people have tried to load a sheet on their computers without success, and on mobile I certainly didn't have any luck. On PC it seemed fine for me - this particular sheet is only 381MB as raw pixel data, though it uses quite a bit more in memory in reality.
I don't know what the limit should be - maybe 25MP? Regardless, it only seems fair to ensure that people on mobile or low-end PCs can view all the sheets.
We don't typically upload or approve enormous sheets these days but there are probably plenty of old ones still floating around. What's the sheet in question in this case? Because 381 MB shouldn't have even been possible.
It seems to load fine on my iPhone but I can definitely see why an image that large could be problematic. As expected though, looking at the ID of that sheet (78857), it was submitted quite a while ago (the end of April 2016 to be specific) and we have long since revised the standards we accept new submissions with. As for this one in particular, I'm not sure there's much to do about it now. It's been on the site for over three years and is a good rip barring the loading issues some might experience.
Posts: 17
Threads: 0
Joined: Sep 2016
The ability to click and search sections would be a tremendous help and make finding particular items a lot more easier.
We were actually never crazy about those lights which is why they didn’t make it into the revision of the Christmas theme you see now. We did add a bunch of other things as well as cleaned up the background to be more in line with the site though and I definitely prefer this new version.
Some submissions like anything to do with Sans or Grand Dad are unfortunately not immune to the meme comments, no matter how many get reported
So I was thinking, would it be possible to implement a feature that disables comments on certain submissions where their meme status is significantly high?
I don't really see that as a necessary change. Yes, the spam comments are annoying but those who post them are warned and those who continue are banned.