this post was submitted on 27 Oct 2023
8 points (90.0% liked)
Lemmy Support
4650 readers
6 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
Looks like Lemmy is sanitizing the HTML inside the code block for some reason. Even I've seen something similar happen to my post.
Indeed. And it’s a needlessly destructive form of sanitization. That is, sanitizing properly normally means replacing the special characters with an encoding to ensure literals render.
Ever since they had the xss problem they've basically nuked any html elements in any scenario
It's like watching php devs in the early 2000s.