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

Lemmy

2172 readers
51 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 1 year ago (1 children)

Broken input sanitization probably.

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

[–] [email protected] 3 points 1 year ago

Same with &: &amp;

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