WOOO. Good news: IT WORKED
Bad news: I don't know why trying to style it to italics didn't. Does Roboto not have italics, is that the problem?
@noelle not yet, I haven't poked at where it formats for federation
@noelle more specifically, I haven't figured out *where* it formats for federation >.>
@InspectorCaracal @noelle given the whole thing with spinning text i think mastodon now just strips all html and there's no more fun to be had in that
@InspectorCaracal @noelle yeah but given the spinning text stuff that happened and got patched out i'm pretty sure you can't do custom stuff anymore
@InspectorCaracal @noelle yeah but no custom theme classes? classes that other instances will have?
@InspectorCaracal @noelle oh no i just mean like, as long as you didn't /write new classes/
then yes it should work
@InspectorCaracal @noelle ... i wanna make all sorts of fucked up posts now
@InspectorCaracal @noelle yeah yeah that's exactly what i meant <3
@noelle @squirrel here's what I've got so far, which styles a line as italic if it starts with a 💭 https://github.com/TheInventrix/mastodon/commit/ffccbe7b45fe93ea3d4515e8802d9db99c2d25e4
@noelle er, html = rp_format(html) I mean
@InspectorCaracal @noelle looking through the code it preserves classes starting with 'h-' among others and the only one of those i can find being used in mastodon is 'h-card' and it actually does not do anything, there are no calls for it other than in the code that adds it to a status in formatter.rb
@InspectorCaracal @noelle i feel like a lot of this code just got snowballed from previous versions and h-card is just a rollover from older versions and idk
@squirrel @noelle it does not appear to have a whitelist for classes. Whatever classes you attach to the <p> tags should pass through.
https://github.com/tootsuite/mastodon/blob/545095b3ce312b42ba304d0bb2c76727826e27b4/app/lib/sanitize_config.rb