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

Lemmy

12440 readers
3 users here now

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

For discussion about the lemmy.ml instance, go to [email protected].

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
[–] [email protected] 12 points 10 months ago (1 children)

Broken input sanitization probably.

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

[–] [email protected] 3 points 10 months ago

Same with &: &amp;

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