this post was submitted on 28 Oct 2023
22 points (95.8% liked)

Lemmy

12572 readers
26 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

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>" → ``
all 6 comments
sorted by: hot top controversial new old
[–] RunAwayFrog@sh.itjust.works 12 points 1 year ago (1 children)

Broken input sanitization probably.

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

[–] ChaoticNeutralCzech@feddit.de 3 points 1 year ago

Same with &: &amp;

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

[–] beta_tester@lemmy.ml 0 points 1 year ago