Markdown code blocks are broken

What a hell is going on? I expect to see everything inside backticks exactly as I typed, but something happens to ''>" and "<" characters. In the preview everything is fine, but after submitting the post it breaks:

  • "<" → &lt;
  • ">" → >
  • "<<" → &lt;&lt;
  • ">>" → >>
  • "<a>" → ``
  • "</a>" → ``
20 points · 4 comments · view on lemmy.world

4 Comments

RunAwayFrog@sh.itjust.works · 12 pts · 2y (2 replies)

Broken input sanitization probably.

Issue will thankfully no longer exist in the next lemmy release.

otter@lemmy.ca · 2 pts · 2y (1 reply)

Why is that?

ChaoticNeutralCzech@feddit.de · 3 pts · 2y

Same with &: &amp;

Also happens in post titles. Use ꯴ or &, or ᐸ if not critical.

beta_tester@lemmy.ml · 1 pts · 2y
[ removed ]
beta_tester@lemmy.ml · 0 pts · 2y
[ removed ]