← go back

i’m probably going to start putting alt text for images in the actual text content of the post since wasteof doesn’t have alt text yet

i don’t really post images a lot, but this is just for information if you get confused why i’m doing it suddenly

technical explanation

when you attach images, you use the markdown code ![alt](url), which works in the editor, but once it’s posted, the alt text is removed because jeffalo uses dompurify which allowlists certain tags, attributes, and attribute values ( the img tag is allowed, but the alt attribute is not). this will probably be fixed in wasteof4, since jeffalo has said he’s improving image upload support in that version

Oct 20, 2023, 4:44 PM
4 0 4

Comments