this post was submitted on 28 Oct 2023
20 points (95.5% liked)

Lemmy

12395 readers
18 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
20
submitted 10 months ago* (last edited 10 months ago) by bizdelnick@lemmy.ml to c/lemmy@lemmy.ml
 

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 11 points 10 months ago (1 children)

Broken input sanitization probably.

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

[–] ChaoticNeutralCzech@feddit.de 1 points 10 months ago

Same with &: &amp;

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

[–] beta_tester@lemmy.ml 0 points 10 months ago