Hello,
The Levelhead website appears to be displaying incorrect page title when viewing levels. For example: https://www.bscotch.net/games/levelhead/levels/zwm8fpl has element
Play "Slothybutt" in Levelhead! | Butterscotch Shenanigans (seen as the title of the tab). I presume this should be 'Play "Yeah-Gee-Line: Confusing 3" in Levelhead!', since it doesn't make much sense to play me.
Slothybutt
Additional Information
Well, that's another issue haha. I guess the text put into here is not sanitized 😨. I put <title>Play "Slothybutt" in Levelhead! | Butterscotch Shenanigans</title>
If it helps, the embed of the link [the link posted in the original message] (e.g. in Discord) is correct:
Which is confusing, because I find the data in the HTML, when navigating to there in my browser, to have the creator name and the level name reversed (Firefox [Librewolf, actually] 151.0.3-1) That HTML being:
I'll pass these on to Adam!
Lol when did this start happening? I haven't touched the logic of that system for a billion years. I guess I did just modify some caching logic a bit, but not the parts that would have impacted this. In theory... Anyway I'll get it sorted soon.
Re: posts being sanitized: they ARE sanitized, but are interpreted as Markdown. HTML is valid Markdown, so when you drop HTML in your post it's interpreted as HTML. The sanitizer is very liberal currently -- allows most HTML but doesn't allow any JavaScript.
As far as I know this has been the case for a year or more. I couldn't put a date on it but it's been broken for a long, long time.
Ah, that's very helpful. I was trying to figure out how I could have broken it with the recent Rumpus updates I made, since they certainly SHOULDN'T have broken it!
Fixed in the upcoming update!
Long story short: I named some things VERY confusingly, so got some wires crossed. I didn't realize it was an issue because this was being handled properly server-side, so that if you posted a link in Discord or whatever the preview would be correct. But in the client it was doing things wrong, so once you loaded a page in browser it'd flip.
You must log in to provide feedback.