Right now Lemmy is unusable for writing code that contains less than/greater than signs because Lemmy’s sanitizer treats that as potentially malicious HTML code.
Here’s an example:
if(x < y)
{
/* ... */
}
The listing becomes littered with <
gibberish.
This is what it looks in the web UI:![Screenshot showing the bracket turns to ampersand lt](https://discuss.tchncs.de/pictrs/image/b9ec5120-6774-40cf-802f-b721248c98b9.png)
This is how it looks on Sync, seems like he’s a front end issue.