i have some monsterfork features here but i manually copied them instead of switching to monsterfork, which means if there's a change i don't get it unless i actually go and look
there's a bangtag for setting the content type of your toot to plaintext, markdown or html (overriding what you have in settings) that i thought was cool but never used
just now i was looking at the code and went "wait, how does it work? is this some bizzare ruby thing i'm unaware of?"
after some time staring at it i tried using it, just to see
the entire time the feature has been on g.s, it has never worked
let's play "spot the bug". this round is very easy but it took me a while because i didn't believe that there was a bug at first
status.content_type is the type of the toot, which is what we're trying to set. it should be
content_types is a hash of things like
't' => 'text/plain'
cmd is the first argument to the bangtag, the t in #!format:t
v = cmd.downcase
status.content_type = content_types[c] unless content_types[c].nil?
@monorail Is it that that v = should be c =?
@BestGirlGrace you got it
@monorail damn, that's insidious
@monorail .....lmfao i had to read it twice and then i was like OH SHIT
@monorail what a heck of a typo
@InspectorCaracal i'm sure it's been fixed on monsterfork forever but oof
An instance of the Mastodon microblogging social network for Ice type pokemon, fans of Ice type pokemon, and anyone else who's, well, cool. Chat with our community here, or with your friends on any other instance! Our code of conduct page can be found here!