Skip Navigation
/kbin meta @kbin.social jaror @kbin.social

Code blocks from Lemmy get mangled here on Kbin

For example see this comment:

https://kbin.social/m/haskell/t/511582/Defeating-Return-Type-Polymorphism#entry-comment-2765579

There are so many <span> tags inserted into the code block that it has become completely unreadable.

Is this a known problem?

4

You're viewing a single thread.

4 comments
  • The issue here is that Lemmy is federating out it's content with the pre blocks containing rendered code fit for some sort of code display plugin/CSS - which KBin doesn't have.

    It would ideally send out the blocks html encoded and would let downstream implementations like KBin or others figure out how to display it themselves. I don't know how we would fix this.