Markdown code blocks are broken

bizdelnick@lemmy.ml to Lemmy@lemmy.ml – 21 points –

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>" → ``
4

Same with &: &amp;

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